Class FacesUnauthorizedHandler
- java.lang.Object
-
- de.xima.fc.user_portal.api.context.FacesUnauthorizedHandler
-
- All Implemented Interfaces:
UserPortalUnauthorizedHandler
@RequestScoped public class FacesUnauthorizedHandler extends Object implements UserPortalUnauthorizedHandler
Handles unauthorized REST API responses from the server by redirecting to the login page.- Since:
- 8.2.0
-
-
Constructor Summary
Constructors Constructor Description FacesUnauthorizedHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(de.xima.fc.api.rest.pub.client.user_portal.ApiResponse<?> response)
Handles an unauthorized response from the user portal REST API.
-
-
-
Method Detail
-
handle
public void handle(de.xima.fc.api.rest.pub.client.user_portal.ApiResponse<?> response) throws UnauthorizedException
Description copied from interface:UserPortalUnauthorizedHandler
Handles an unauthorized response from the user portal REST API.- Specified by:
handle
in interfaceUserPortalUnauthorizedHandler
- Parameters:
response
- An unauthorized response from the user portal REST API.- Throws:
UnauthorizedException
-
-