public class SAML2Authenticator extends ProfileDefinitionAware<SAML2Profile> implements Authenticator<SAML2Credentials>
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
static String |
SAML_CONDITION_NOT_BEFORE_ATTRIBUTE |
static String |
SAML_CONDITION_NOT_ON_OR_AFTER_ATTRIBUTE |
static String |
SESSION_INDEX |
Constructor and Description |
---|
SAML2Authenticator() |
Modifier and Type | Method and Description |
---|---|
protected void |
internalInit(WebContext context)
Internal initialization of the object.
|
void |
validate(SAML2Credentials credentials,
WebContext context)
Validate the credentials.
|
defaultProfileDefinition, getProfileDefinition, setProfileDefinition
init, reinit
public static final String SAML_CONDITION_NOT_BEFORE_ATTRIBUTE
public static final String SAML_CONDITION_NOT_ON_OR_AFTER_ATTRIBUTE
public static final String SESSION_INDEX
protected final org.slf4j.Logger logger
protected void internalInit(WebContext context)
InitializableWebObject
internalInit
in class InitializableWebObject
context
- the web contextpublic void validate(SAML2Credentials credentials, WebContext context) throws HttpAction, CredentialsException
Authenticator
CredentialsException
in case of failure.validate
in interface Authenticator<SAML2Credentials>
credentials
- the given credentialscontext
- the web contextHttpAction
- requires a specific HTTP action if necessaryCredentialsException
- the credentials are invalidCopyright © 2017. All rights reserved.