public class JBWSTokenIssuingLoginModule extends STSIssuingLoginModule
STSIssuingLoginModule
that adds in JBoss WS specific detailsModifier and Type | Class and Description |
---|---|
class |
JBWSTokenIssuingLoginModule.JBWSTokenClient |
Modifier and Type | Field and Description |
---|---|
static String |
WSA_ISSUER
Key in the options to customize the WS-Addressing Issuer in the WS-T Call
|
static String |
WSP_APPIESTO
Key in the options to customize the WS-Policy Applies To in the WS-T Call
|
ENDPOINT_OPTION, TOKEN_TYPE_OPTION
callbackHandler, enableCacheInvalidation, ENDPOINT_ADDRESS, INITIAL_CLIENTS_IN_POOL, initialClientsInPool, injectCallerPrincipalGroup, IS_BATCH, isBatch, options, OPTIONS_CREDENTIALS, OPTIONS_PW_STACKING, PASSWORD_KEY, passwordStacking, PORT_NAME, ROLE_KEY, roleKey, samlToken, securityDomain, SERVICE_NAME, SHARED_TOKEN, sharedState, STS_CONFIG_FILE, subject, success, useFirstPass, useOptionsCredentials, USERNAME_KEY
Constructor and Description |
---|
JBWSTokenIssuingLoginModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
commit()
Commit will package the samlToken set by the login method in a new
SamlCredential . |
protected STSClientConfig.Builder |
createBuilder()
Subclasses can override and create a preconfigured builder
|
protected STSClient |
createWSTrustClient(STSClientConfig config) |
initialize, invokeSTS
abort, getCallbackHandler, getConfiguration, getMappingManager, getOptions, getRequiredOption, getSharedPassword, getSharedToken, getSharedUsername, getSubject, isSuccess, isUseFirstPass, isUseOptionsConfig, isUsePasswordStacking, login, logout, populateSubject, removeAllSamlCredentials, setSamlToken, setSharedToken, setSuccess, useCredentialsFromCallback, useCredentialsFromOptions, useCredentialsFromSharedState
public static final String WSA_ISSUER
public static final String WSP_APPIESTO
protected STSClientConfig.Builder createBuilder()
AbstractSTSLoginModule
createBuilder
in class AbstractSTSLoginModule
protected STSClient createWSTrustClient(STSClientConfig config)
createWSTrustClient
in class AbstractSTSLoginModule
public boolean commit() throws LoginException
AbstractSTSLoginModule
SamlCredential
. This new SamlCredential will
be put into the Subject public credentials set.commit
in interface LoginModule
commit
in class AbstractSTSLoginModule
LoginException
Copyright © 2017 JBoss by Red Hat. All rights reserved.