com.ibm.websphere.wssecurity.wssapi.token

Interface GenericSecurityToken

All Superinterfaces:
SecurityToken
All known subinterfaces:
SAMLToken

  1. public interface GenericSecurityToken
  2. extends SecurityToken

This interface encapsulates the unsorted properties of a generic security token in (key,value) pairs that are meaningful to implementors and exploiters of the token.

WSSTrustClient class and WSSTrustClientValidateResult class return tokens that implement this interface.
See Also:
WSSTrustClient, WSSTrustClientValidateResult

Field Summary

Fields inherited from interface com.ibm.websphere.wssecurity.wssapi.token.SecurityToken
DECRYPTING_KEY, ENCRYPTING_KEY, REF_EMBEDDED, REF_KEYID, REF_STR, REF_THUMBPRINT, SIGNING_KEY, TokenQname, ValueType, VERIFING_KEY

Method Summary

Modifier and Type Method and Description
  1. java.util.Map
getProperties()
getter for the properties of the security token.
  1. void
setValueType(javax.xml.namespace.QName qname)
set Token ValueType QName if there is no ValueType in GenericSecurityToken, or existing token ValueType need to be modified
Methods inherited from interface com.ibm.websphere.wssecurity.wssapi.token.SecurityToken
getId, getKey, getKeyIdentifier, getKeyIdentifierEncodingType, getKeyIdentifierValueType, getKeyName, getPrincipal, getReferenceURI, getThumbprint, getThumbprintEncodingType, getThumbprintValueType, getTokenQname, getValueType, getXML

Method Detail

getProperties

  1. java.util.Map getProperties()
getter for the properties of the security token.
Returns:
a map containing (key,value) pairs representing the token properties. For example, when WSTrust client returns a GenericSecurityToken, it could optionally store RequestSecurityTokenResponse in this properties.

setValueType

  1. void setValueType(javax.xml.namespace.QName qname)
set Token ValueType QName if there is no ValueType in GenericSecurityToken, or existing token ValueType need to be modified