public abstract class AbstractCheckAuthenticationAuthorizer<U extends CommonProfile> extends ProfileAuthorizer<U>
Constructor and Description |
---|
AbstractCheckAuthenticationAuthorizer() |
AbstractCheckAuthenticationAuthorizer(String redirectionUrl) |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getErrorMessage()
Return the error message.
|
String |
getRedirectionUrl() |
protected boolean |
handleError(WebContext context)
Handle the error.
|
void |
setRedirectionUrl(String redirectionUrl) |
isAllAuthorized, isAnyAuthorized, isProfileAuthorized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAuthorized
public AbstractCheckAuthenticationAuthorizer()
public AbstractCheckAuthenticationAuthorizer(String redirectionUrl)
protected boolean handleError(WebContext context) throws HttpAction
ProfileAuthorizer
handleError
in class ProfileAuthorizer<U extends CommonProfile>
context
- the web contextfalse
HttpAction
- whether an additional HTTP action is requiredprotected abstract String getErrorMessage()
public String getRedirectionUrl()
public void setRedirectionUrl(String redirectionUrl)
Copyright © 2017. All rights reserved.