Class DefaultSAMLTokenProvider
java.lang.Object
com.sun.xml.ws.security.trust.impl.DefaultSAMLTokenProvider
- All Implemented Interfaces:
STSTokenProvider
- Author:
- Jiandong Guo
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AssertioncreateSAML11Assertion(WSTrustVersion wstVer, int lifeSpan, String confirMethod, String assertionId, String issuer, String appliesTo, org.apache.xml.security.keys.KeyInfo keyInfo, Map<QName, List<String>> claimedAttrs, String keyType) protected AssertioncreateSAML20Assertion(WSTrustVersion wstVer, int lifeSpan, String confirMethod, String assertionId, String issuer, String appliesTo, org.apache.xml.security.keys.KeyInfo keyInfo, Map<QName, List<String>> claimedAttrs, String keyType, String authnCtx) voidvoidvoidvoid
-
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:
-
-
Constructor Details
-
DefaultSAMLTokenProvider
public DefaultSAMLTokenProvider()
-
-
Method Details
-
generateToken
- Specified by:
generateTokenin interfaceSTSTokenProvider- Throws:
WSTrustException
-
isValideToken
- Specified by:
isValideTokenin interfaceSTSTokenProvider- Throws:
WSTrustException
-
renewToken
- Specified by:
renewTokenin interfaceSTSTokenProvider
-
invalidateToken
- Specified by:
invalidateTokenin interfaceSTSTokenProvider
-
createSAML11Assertion
protected Assertion createSAML11Assertion(WSTrustVersion wstVer, int lifeSpan, String confirMethod, String assertionId, String issuer, String appliesTo, org.apache.xml.security.keys.KeyInfo keyInfo, Map<QName, List<String>> claimedAttrs, String keyType) throws WSTrustException- Throws:
WSTrustException
-
createSAML20Assertion
protected Assertion createSAML20Assertion(WSTrustVersion wstVer, int lifeSpan, String confirMethod, String assertionId, String issuer, String appliesTo, org.apache.xml.security.keys.KeyInfo keyInfo, Map<QName, List<String>> claimedAttrs, String keyType, String authnCtx) throws WSTrustException- Throws:
WSTrustException
-