public class STSValidatingLoginModule extends AbstractSTSLoginModule
<application-policy name="saml-validate-token">
<authentication>
<login-module code="org.picketlink.identity.federation.core.wstrust.auth.STSValidatingLoginModule"
flag="required">
<module-option name="configFile">/sts-client.properties</module-option>
</login-module>
</authentication>
</application-policy>
callbackHandler, enableCacheInvalidation, ENDPOINT_ADDRESS, INITIAL_CLIENTS_IN_POOL, initialClientsInPool, injectCallerPrincipalGroup, IS_BATCH, isBatch, logger, 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 |
---|
STSValidatingLoginModule() |
Modifier and Type | Method and Description |
---|---|
Element |
invokeSTS(STSClient stsClient)
This method will validate the token with the configured STS.
|
abort, commit, createBuilder, createWSTrustClient, getCallbackHandler, getConfiguration, getMappingManager, getOptions, getRequiredOption, getSharedPassword, getSharedToken, getSharedUsername, getSubject, initialize, isSuccess, isUseFirstPass, isUseOptionsConfig, isUsePasswordStacking, login, logout, populateSubject, removeAllSamlCredentials, setSamlToken, setSharedToken, setSuccess, useCredentialsFromCallback, useCredentialsFromOptions, useCredentialsFromSharedState
public Element invokeSTS(STSClient stsClient) throws WSTrustException, LoginException
invokeSTS
in class AbstractSTSLoginModule
LoginException
- If it was not possible to validate the token for any reason.WSTrustException
Copyright © 2021 JBoss by Red Hat. All rights reserved.