Class SoapTokenProviderBase
- java.lang.Object
-
- org.forgerock.openam.sts.soap.token.provider.SoapTokenProviderBase
-
- All Implemented Interfaces:
org.apache.cxf.sts.token.provider.TokenProvider
- Direct Known Subclasses:
SoapOpenIdConnectTokenProvider,SoapSamlTokenProvider
public abstract class SoapTokenProviderBase extends Object implements org.apache.cxf.sts.token.provider.TokenProvider
This class contains functionality common to both the OpenIdConnect and SAML2 TokenProvider implementations. This functionality is largely concerned with extracting the input token type and input token object from the yield of SecurityPolicy binding traversal, or from the delegated token context. This state is necessary for the pluggable generation of authentication context state, which is common to both SAML2 and OpenIdConnect tokens.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classSoapTokenProviderBase.AuthenticationContextMapperState
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Loggerloggerprotected XMLUtilitiesxmlUtilities
-
Constructor Summary
Constructors Constructor Description SoapTokenProviderBase(SoapSTSAccessTokenProvider soapSTSAccessTokenProvider, XMLUtilities xmlUtilities, org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SoapTokenProviderBase.AuthenticationContextMapperStategetAuthenticationContextMapperState(org.apache.cxf.sts.token.provider.TokenProviderParameters tokenProviderParameters)protected StringgetTokenGenerationServiceConsumptionToken()protected voidinvalidateTokenGenerationServiceConsumptionToken(String consumptionToken)protected booleanisDelegatedIssueOperation(org.apache.cxf.sts.token.provider.TokenProviderParameters tokenProviderParameters)
-
-
-
Field Detail
-
logger
protected final org.slf4j.Logger logger
-
xmlUtilities
protected final XMLUtilities xmlUtilities
-
-
Constructor Detail
-
SoapTokenProviderBase
public SoapTokenProviderBase(SoapSTSAccessTokenProvider soapSTSAccessTokenProvider, XMLUtilities xmlUtilities, org.slf4j.Logger logger)
-
-
Method Detail
-
getTokenGenerationServiceConsumptionToken
protected String getTokenGenerationServiceConsumptionToken() throws TokenCreationException
- Throws:
TokenCreationException
-
invalidateTokenGenerationServiceConsumptionToken
protected void invalidateTokenGenerationServiceConsumptionToken(String consumptionToken)
-
getAuthenticationContextMapperState
protected SoapTokenProviderBase.AuthenticationContextMapperState getAuthenticationContextMapperState(org.apache.cxf.sts.token.provider.TokenProviderParameters tokenProviderParameters)
-
isDelegatedIssueOperation
protected boolean isDelegatedIssueOperation(org.apache.cxf.sts.token.provider.TokenProviderParameters tokenProviderParameters)
-
-