Class AbstractCheckAuthenticationAuthorizer<U extends UserProfile>
- java.lang.Object
-
- org.pac4j.core.authorization.authorizer.ProfileAuthorizer<U>
-
- org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer<U>
-
- All Implemented Interfaces:
Authorizer<U>
- Direct Known Subclasses:
IsAnonymousAuthorizer
,IsAuthenticatedAuthorizer
,IsFullyAuthenticatedAuthorizer
,IsRememberedAuthorizer
public abstract class AbstractCheckAuthenticationAuthorizer<U extends UserProfile> extends ProfileAuthorizer<U>
Check the authentication of the user.- Since:
- 1.9.0
- Author:
- Jerome Leleu
-
-
Constructor Summary
Constructors Constructor Description AbstractCheckAuthenticationAuthorizer()
AbstractCheckAuthenticationAuthorizer(String redirectionUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRedirectionUrl()
protected boolean
handleError(WebContext context)
Handle the error.void
setRedirectionUrl(String redirectionUrl)
-
Methods inherited from class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
isAllAuthorized, isAnyAuthorized, isProfileAuthorized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pac4j.core.authorization.authorizer.Authorizer
isAuthorized
-
-
-
-
Constructor Detail
-
AbstractCheckAuthenticationAuthorizer
public AbstractCheckAuthenticationAuthorizer()
-
AbstractCheckAuthenticationAuthorizer
public AbstractCheckAuthenticationAuthorizer(String redirectionUrl)
-
-
Method Detail
-
handleError
protected boolean handleError(WebContext context)
Description copied from class:ProfileAuthorizer
Handle the error.- Overrides:
handleError
in classProfileAuthorizer<U extends UserProfile>
- Parameters:
context
- the web context- Returns:
false
-
getRedirectionUrl
public String getRedirectionUrl()
-
setRedirectionUrl
public void setRedirectionUrl(String redirectionUrl)
-
-