Package 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.
-
-
Field Summary
Fields Modifier and Type Field Description static String
TOKEN_POLICY
-
Constructor Summary
Constructors Constructor Description TokenPolicyMetaData(Map runtimeProperties)
-
-
-
Field Detail
-
TOKEN_POLICY
public static final String TOKEN_POLICY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TokenPolicyMetaData
public TokenPolicyMetaData(Map runtimeProperties)
- Parameters:
runtimeProperties
- the runtime Properties of an XWSS CallbackHandler
-
-
Method Detail
-
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
-
-