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 -
Method Summary
-
Constructor Details
-
FacesUnauthorizedHandler
public FacesUnauthorizedHandler()
-
-
Method Details
-
handle
Description copied from interface:UserPortalUnauthorizedHandlerHandles an unauthorized response from the user portal REST API.- Specified by:
handlein interfaceUserPortalUnauthorizedHandler- Parameters:
response- An unauthorized response from the user portal REST API.- Throws:
UnauthorizedException
-