com.sun.xml.wss
Class TokenPolicyMetaData

java.lang.Object
  extended by 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
static String TOKEN_POLICY
           
 
Constructor Summary
TokenPolicyMetaData(Map runtimeProperties)
           
 
Method Summary
 Element getClaims()
           
 String getIssuer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.