Class IssueSamlTokenContract
java.lang.Object
com.sun.xml.ws.security.trust.impl.IssueSamlTokenContract
- All Implemented Interfaces:
IssueSamlTokenContract<BaseSTSRequest,,BaseSTSResponse> WSTrustContract<BaseSTSRequest,BaseSTSResponse>
- Direct Known Subclasses:
IssueSamlTokenContractImpl,SBIssuedSamlTokenContractImpl
public abstract class IssueSamlTokenContract
extends Object
implements IssueSamlTokenContract<BaseSTSRequest,BaseSTSResponse>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected WSTrustElementFactoryprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected STSConfigurationprotected WSTrustVersion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncancel(BaseSTSRequest request, IssuedTokenContext context, Map issuedTokenCtxMap) Cancel a Tokenabstract TokencreateSAMLAssertion(String appliesTo, String tokenType, String keyType, String assertionId, String issuer, Map<QName, List<String>> claimedAttrs, IssuedTokenContext context) voidhandleUnsolicited(BaseSTSResponse rstr, IssuedTokenContext context) handle an unsolicited RSTR like in the case of Client Initiated Secure Conversation.voidinit(STSConfiguration stsConfig) issue(BaseSTSRequest request, IssuedTokenContext context) Issue a TokenissueMultiple(BaseSTSRequest request, IssuedTokenContext context) Issue a Collection of Token(s) possibly for different scopesrenew(BaseSTSRequest request, IssuedTokenContext context) Renew a Tokenvalidate(BaseSTSRequest request, IssuedTokenContext context) Validate a Token
-
Field Details
-
SAML_HOLDER_OF_KEY_1_0
- See Also:
-
SAML_HOLDER_OF_KEY_2_0
- See Also:
-
SAML_BEARER_1_0
- See Also:
-
SAML_BEARER_2_0
- See Also:
-
SAML_SENDER_VOUCHES_1_0
- See Also:
-
SAML_SENDER_VOUCHES_2_0
- See Also:
-
stsConfig
-
wstVer
-
authnCtxClass
-
eleFac
-
-
Constructor Details
-
IssueSamlTokenContract
public IssueSamlTokenContract()
-
-
Method Details
-
init
- Specified by:
initin interfaceWSTrustContract<BaseSTSRequest,BaseSTSResponse>
-
issue
public BaseSTSResponse issue(BaseSTSRequest request, IssuedTokenContext context) throws WSTrustException Issue a Token- Specified by:
issuein interfaceWSTrustContract<BaseSTSRequest,BaseSTSResponse> - Throws:
WSTrustException
-
issueMultiple
Issue a Collection of Token(s) possibly for different scopes -
renew
Renew a Token- Specified by:
renewin interfaceWSTrustContract<BaseSTSRequest,BaseSTSResponse>
-
cancel
public BaseSTSResponse cancel(BaseSTSRequest request, IssuedTokenContext context, Map issuedTokenCtxMap) Cancel a Token- Specified by:
cancelin interfaceWSTrustContract<BaseSTSRequest,BaseSTSResponse>
-
validate
Validate a Token- Specified by:
validatein interfaceWSTrustContract<BaseSTSRequest,BaseSTSResponse>
-
handleUnsolicited
handle an unsolicited RSTR like in the case of Client Initiated Secure Conversation.- Specified by:
handleUnsolicitedin interfaceWSTrustContract<BaseSTSRequest,BaseSTSResponse>
-
createSAMLAssertion
public abstract Token createSAMLAssertion(String appliesTo, String tokenType, String keyType, String assertionId, String issuer, Map<QName, List<String>> claimedAttrs, IssuedTokenContext context) throws WSTrustException- Specified by:
createSAMLAssertionin interfaceIssueSamlTokenContract<BaseSTSRequest,BaseSTSResponse> - Throws:
WSTrustException
-