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