Interface AuthenticationRequiredHandler
-
- All Known Implementing Classes:
AuthenticationRequiredHandlerImpl,RestAuthenticationRequiredHandler
public interface AuthenticationRequiredHandlerHandles the request when authentication is required.- Author:
- Alfonso Vásquez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandle(org.craftercms.commons.http.RequestContext context, AuthenticationException e)Handles the request when authentication is required.
-
-
-
Method Detail
-
handle
void handle(org.craftercms.commons.http.RequestContext context, AuthenticationException e) throws SecurityProviderException, IOExceptionHandles the request when authentication is required.- Parameters:
context- the request contexte- the exception with the reason for requiring authentication- Throws:
SecurityProviderExceptionIOException
-
-