public abstract class SAMLTokenFromHttpRequestAbstractLoginModule extends AbstractServerLoginModule
Modifier and Type | Field and Description |
---|---|
static String |
BASE64_TOKEN_ENCODING
Token encoding type: base64
|
static String |
GZIP_TOKEN_ENCODING
Token encoding type: gzip
|
protected static PicketLinkLogger |
logger |
static String |
NONE_TOKEN_ENCODING
Token encoding type: none
|
static String |
REG_EX_GROUP_KEY |
static String |
REG_EX_PATTERN_KEY |
static String |
SAML_TOKEN_HTTP_HEADER_KEY |
static String |
TOKEN_ENCODING_TYPE_KEY
Key to specify token compression.
|
protected String |
tokenEncoding |
static String |
WEB_REQUEST_KEY |
callbackHandler, jbossModuleName, log, loginOk, options, principalClassModuleName, principalClassName, sharedState, subject, unauthenticatedIdentity, useFirstPass
Constructor and Description |
---|
SAMLTokenFromHttpRequestAbstractLoginModule() |
Modifier and Type | Method and Description |
---|---|
protected SamlCredential |
getCredentialFromHttpRequest() |
String |
getSamlTokenHttpHeader() |
String |
getSamlTokenHttpHeaderRegEx() |
int |
getSamlTokenHttpHeaderRegExGroup() |
String |
getTokenEncoding() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options)
Initialize the login module.
|
abort, addValidOptions, checkOptions, commit, createGroup, createIdentity, getCallerPrincipalGroup, getIdentity, getRoleSets, getUnauthenticatedIdentity, getUseFirstPass, login, logout
protected static final PicketLinkLogger logger
protected String tokenEncoding
public static final String TOKEN_ENCODING_TYPE_KEY
GZIP_TOKEN_ENCODING
- gzip
BASE64_TOKEN_ENCODING
- base64
NONE_TOKEN_ENCODING
- nonepublic static final String GZIP_TOKEN_ENCODING
public static final String NONE_TOKEN_ENCODING
public static final String BASE64_TOKEN_ENCODING
public static final String WEB_REQUEST_KEY
public static final String REG_EX_PATTERN_KEY
public static final String REG_EX_GROUP_KEY
public static final String SAML_TOKEN_HTTP_HEADER_KEY
public SAMLTokenFromHttpRequestAbstractLoginModule()
protected SamlCredential getCredentialFromHttpRequest() throws Exception
Exception
public String getTokenEncoding()
public String getSamlTokenHttpHeader()
public String getSamlTokenHttpHeaderRegEx()
public int getSamlTokenHttpHeaderRegExGroup()
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
AbstractServerLoginModule
initialize
in interface LoginModule
initialize
in class AbstractServerLoginModule
subject
- the Subject to update after a successful login.callbackHandler
- the CallbackHandler that will be used to obtain the
the user identity and credentials.sharedState
- a Map shared between all configured login module instancesoptions
- the parameters passed to the login module.Copyright © 2021 JBoss by Red Hat. All rights reserved.