public class SAML2Authenticator extends ProfileDefinitionAware<SAML2Profile> implements Authenticator<SAML2Credentials>
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHN_CONTEXT |
static String |
ISSUER_ID |
protected org.slf4j.Logger |
logger |
static String |
SAML_CONDITION_NOT_BEFORE_ATTRIBUTE |
static String |
SAML_CONDITION_NOT_ON_OR_AFTER_ATTRIBUTE |
static String |
SAML_NAME_ID_FORMAT |
static String |
SAML_NAME_ID_NAME_QUALIFIER |
static String |
SAML_NAME_ID_SP_NAME_QUALIFIER |
static String |
SAML_NAME_ID_SP_PROVIDED_ID |
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, setProfileDefinitioninit, reinitpublic 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
public static final String ISSUER_ID
public static final String AUTHN_CONTEXT
public static final String SAML_NAME_ID_FORMAT
public static final String SAML_NAME_ID_NAME_QUALIFIER
public static final String SAML_NAME_ID_SP_NAME_QUALIFIER
public static final String SAML_NAME_ID_SP_PROVIDED_ID
protected final org.slf4j.Logger logger
protected void internalInit(WebContext context)
InitializableWebObjectinternalInit in class InitializableWebObjectcontext - the web contextpublic void validate(SAML2Credentials credentials, WebContext context) throws HttpAction, CredentialsException
AuthenticatorCredentialsException 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 © 2018. All rights reserved.