com.pingidentity.sts.clientapi.protocol
Class KeyIdentifierTokenReference
java.lang.Object
com.pingidentity.sts.clientapi.protocol.KeyIdentifierTokenReference
- All Implemented Interfaces:
- SecurityTokenReference
public class KeyIdentifierTokenReference
- extends java.lang.Object
- implements SecurityTokenReference
References the token as defined in Web Services Security SAML Token Profile 1.1.
Method Summary |
java.lang.String |
getTokenType()
|
void |
referenceToken(com.pingidentity.sts.commonutils.xml.easydom.XElement element,
org.w3c.dom.Element token)
Adds the SecurityTokenReference Element to the element that references the token |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAML11_VALUE_TYPE
public static final java.lang.String SAML11_VALUE_TYPE
- See Also:
- Constant Field Values
SAML11_TOKEN_TYPE
public static final java.lang.String SAML11_TOKEN_TYPE
- See Also:
- Constant Field Values
SAML20_VALUE_TYPE
public static final java.lang.String SAML20_VALUE_TYPE
- See Also:
- Constant Field Values
SAML20_TOKEN_TYPE
public static final java.lang.String SAML20_TOKEN_TYPE
- See Also:
- Constant Field Values
KeyIdentifierTokenReference
public KeyIdentifierTokenReference(java.lang.String tokenType,
java.lang.String valueType,
KeyIdentifierTokenReference.IdProvider idProvider)
- Creates KeyIdentifierTokenReference.
- Parameters:
tokenType
- the Token TypevalueType
- the Value TypeidProvider
- provider for referencing ID
referenceToken
public void referenceToken(com.pingidentity.sts.commonutils.xml.easydom.XElement element,
org.w3c.dom.Element token)
throws STSClientException
- Description copied from interface:
SecurityTokenReference
- Adds the SecurityTokenReference Element to the
element
that references the token
- Specified by:
referenceToken
in interface SecurityTokenReference
- Parameters:
element
- the element that contains SecurityTokenReferencetoken
- the token that is referred to
- Throws:
STSClientException
- if the reference can't be created
getTokenType
public java.lang.String getTokenType()
- Specified by:
getTokenType
in interface SecurityTokenReference
Copyright © 2006-2009 Ping Identity Corporation. All Rights Reserved.