com.sun.xml.ws.security.trust.impl
Class DefaultSAMLTokenProvider

java.lang.Object
  extended by com.sun.xml.ws.security.trust.impl.DefaultSAMLTokenProvider
All Implemented Interfaces:
STSTokenProvider

public class DefaultSAMLTokenProvider
extends Object
implements STSTokenProvider

Author:
Jiandong Guo

Field Summary
protected static String SAML_BEARER_1_0
           
protected static String SAML_BEARER_2_0
           
protected static String SAML_HOLDER_OF_KEY_1_0
           
protected static String SAML_HOLDER_OF_KEY_2_0
           
protected static String SAML_SENDER_VOUCHES_1_0
           
protected static String SAML_SENDER_VOUCHES_2_0
           
 
Constructor Summary
DefaultSAMLTokenProvider()
           
 
Method Summary
protected  Assertion createSAML11Assertion(WSTrustVersion wstVer, int lifeSpan, String confirMethod, String assertionId, String issuer, String appliesTo, com.sun.org.apache.xml.internal.security.keys.KeyInfo keyInfo, Map<QName,List<String>> claimedAttrs, String keyType)
           
protected  Assertion createSAML20Assertion(WSTrustVersion wstVer, int lifeSpan, String confirMethod, String assertionId, String issuer, String appliesTo, com.sun.org.apache.xml.internal.security.keys.KeyInfo keyInfo, Map<QName,List<String>> claimedAttrs, String keyType, String authnCtx)
           
 void generateToken(IssuedTokenContext ctx)
           
 void invalidateToken(IssuedTokenContext ctx)
           
 void isValideToken(IssuedTokenContext ctx)
           
 void renewToken(IssuedTokenContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SAML_HOLDER_OF_KEY_1_0

protected static final String SAML_HOLDER_OF_KEY_1_0
See Also:
Constant Field Values

SAML_HOLDER_OF_KEY_2_0

protected static final String SAML_HOLDER_OF_KEY_2_0
See Also:
Constant Field Values

SAML_BEARER_1_0

protected static final String SAML_BEARER_1_0
See Also:
Constant Field Values

SAML_BEARER_2_0

protected static final String SAML_BEARER_2_0
See Also:
Constant Field Values

SAML_SENDER_VOUCHES_1_0

protected static final String SAML_SENDER_VOUCHES_1_0
See Also:
Constant Field Values

SAML_SENDER_VOUCHES_2_0

protected static final String SAML_SENDER_VOUCHES_2_0
See Also:
Constant Field Values
Constructor Detail

DefaultSAMLTokenProvider

public DefaultSAMLTokenProvider()
Method Detail

generateToken

public void generateToken(IssuedTokenContext ctx)
                   throws WSTrustException
Specified by:
generateToken in interface STSTokenProvider
Throws:
WSTrustException

isValideToken

public void isValideToken(IssuedTokenContext ctx)
                   throws WSTrustException
Specified by:
isValideToken in interface STSTokenProvider
Throws:
WSTrustException

renewToken

public void renewToken(IssuedTokenContext ctx)
                throws WSTrustException
Specified by:
renewToken in interface STSTokenProvider
Throws:
WSTrustException

invalidateToken

public void invalidateToken(IssuedTokenContext ctx)
                     throws WSTrustException
Specified by:
invalidateToken in interface STSTokenProvider
Throws:
WSTrustException

createSAML11Assertion

protected Assertion createSAML11Assertion(WSTrustVersion wstVer,
                                          int lifeSpan,
                                          String confirMethod,
                                          String assertionId,
                                          String issuer,
                                          String appliesTo,
                                          com.sun.org.apache.xml.internal.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,
                                          com.sun.org.apache.xml.internal.security.keys.KeyInfo keyInfo,
                                          Map<QName,List<String>> claimedAttrs,
                                          String keyType,
                                          String authnCtx)
                                   throws WSTrustException
Throws:
WSTrustException


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.