com.sun.xml.wss
Class TokenPolicyMetaData
java.lang.Object
com.sun.xml.wss.TokenPolicyMetaData
public class TokenPolicyMetaData
- extends Object
Provides Meta Data about the token Policy.
Can be used to obtain WS-SecurityPolicy related Meta-Data associated with the Token.
The meta-data is generally used to disambiguate the exact action to be performed inside
a specific callback or validator. For example the Policy Meta-Data can be used to decide
what certificate/username to return.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOKEN_POLICY
public static final String TOKEN_POLICY
- See Also:
- Constant Field Values
TokenPolicyMetaData
public TokenPolicyMetaData(Map runtimeProperties)
- Parameters:
runtimeProperties - the runtime Properties of an XWSS CallbackHandler
getIssuer
public String getIssuer()
- Returns:
- <&sp:Issuer>wsa:EndpointReferenceType</sp:Issuer>, null if not specified policy
getClaims
public Element getClaims()
throws XWSSecurityException
- Returns:
- <&wst:Claims Dialect="..."> ... </wst:Claims>, null if not specified in policy
- Throws:
XWSSecurityException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.