com.sun.xml.ws.security.trust.impl
Class DefaultSAMLTokenProvider
java.lang.Object
com.sun.xml.ws.security.trust.impl.DefaultSAMLTokenProvider
- All Implemented Interfaces:
- STSTokenProvider
public class DefaultSAMLTokenProvider
- extends java.lang.Object
- implements STSTokenProvider
Method Summary |
protected com.sun.xml.wss.saml.Assertion |
createSAML11Assertion(WSTrustVersion wstVer,
int lifeSpan,
java.lang.String confirMethod,
java.lang.String assertionId,
java.lang.String issuer,
java.lang.String appliesTo,
com.sun.org.apache.xml.internal.security.keys.KeyInfo keyInfo,
java.util.Map<javax.xml.namespace.QName,java.util.List<java.lang.String>> claimedAttrs,
java.lang.String keyType)
|
protected com.sun.xml.wss.saml.Assertion |
createSAML20Assertion(WSTrustVersion wstVer,
int lifeSpan,
java.lang.String confirMethod,
java.lang.String assertionId,
java.lang.String issuer,
java.lang.String appliesTo,
com.sun.org.apache.xml.internal.security.keys.KeyInfo keyInfo,
java.util.Map<javax.xml.namespace.QName,java.util.List<java.lang.String>> claimedAttrs,
java.lang.String keyType,
java.lang.String authnCtx)
|
void |
generateToken(com.sun.xml.ws.security.IssuedTokenContext ctx)
|
void |
invalidateToken(com.sun.xml.ws.security.IssuedTokenContext ctx)
|
void |
isValideToken(com.sun.xml.ws.security.IssuedTokenContext ctx)
|
void |
renewToken(com.sun.xml.ws.security.IssuedTokenContext ctx)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAML_HOLDER_OF_KEY_1_0
protected static final java.lang.String SAML_HOLDER_OF_KEY_1_0
- See Also:
- Constant Field Values
SAML_HOLDER_OF_KEY_2_0
protected static final java.lang.String SAML_HOLDER_OF_KEY_2_0
- See Also:
- Constant Field Values
SAML_BEARER_1_0
protected static final java.lang.String SAML_BEARER_1_0
- See Also:
- Constant Field Values
SAML_BEARER_2_0
protected static final java.lang.String SAML_BEARER_2_0
- See Also:
- Constant Field Values
SAML_SENDER_VOUCHES_1_0
protected static final java.lang.String SAML_SENDER_VOUCHES_1_0
- See Also:
- Constant Field Values
SAML_SENDER_VOUCHES_2_0
protected static final java.lang.String SAML_SENDER_VOUCHES_2_0
- See Also:
- Constant Field Values
DefaultSAMLTokenProvider
public DefaultSAMLTokenProvider()
generateToken
public void generateToken(com.sun.xml.ws.security.IssuedTokenContext ctx)
throws WSTrustException
- Specified by:
generateToken
in interface STSTokenProvider
- Throws:
WSTrustException
isValideToken
public void isValideToken(com.sun.xml.ws.security.IssuedTokenContext ctx)
throws WSTrustException
- Specified by:
isValideToken
in interface STSTokenProvider
- Throws:
WSTrustException
renewToken
public void renewToken(com.sun.xml.ws.security.IssuedTokenContext ctx)
throws WSTrustException
- Specified by:
renewToken
in interface STSTokenProvider
- Throws:
WSTrustException
invalidateToken
public void invalidateToken(com.sun.xml.ws.security.IssuedTokenContext ctx)
throws WSTrustException
- Specified by:
invalidateToken
in interface STSTokenProvider
- Throws:
WSTrustException
createSAML11Assertion
protected com.sun.xml.wss.saml.Assertion createSAML11Assertion(WSTrustVersion wstVer,
int lifeSpan,
java.lang.String confirMethod,
java.lang.String assertionId,
java.lang.String issuer,
java.lang.String appliesTo,
com.sun.org.apache.xml.internal.security.keys.KeyInfo keyInfo,
java.util.Map<javax.xml.namespace.QName,java.util.List<java.lang.String>> claimedAttrs,
java.lang.String keyType)
throws WSTrustException
- Throws:
WSTrustException
createSAML20Assertion
protected com.sun.xml.wss.saml.Assertion createSAML20Assertion(WSTrustVersion wstVer,
int lifeSpan,
java.lang.String confirMethod,
java.lang.String assertionId,
java.lang.String issuer,
java.lang.String appliesTo,
com.sun.org.apache.xml.internal.security.keys.KeyInfo keyInfo,
java.util.Map<javax.xml.namespace.QName,java.util.List<java.lang.String>> claimedAttrs,
java.lang.String keyType,
java.lang.String authnCtx)
throws WSTrustException
- Throws:
WSTrustException