com.ibm.websphere.wssecurity.wssapi.token
Interface GenericSecurityToken
All Superinterfaces:
All known subinterfaces:
- public interface GenericSecurityToken
- 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 |
---|---|
|
getProperties()
getter for the properties of the security token.
|
|
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
- 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
- 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