Package com.sun.xml.wss.impl.policy.mls
Class AuthenticationTokenPolicy
java.lang.Object
com.sun.xml.wss.impl.policy.MLSPolicy
com.sun.xml.wss.impl.policy.mls.WSSPolicy
com.sun.xml.wss.impl.policy.mls.WSSFeatureBindingExtension
com.sun.xml.wss.impl.policy.mls.AuthenticationTokenPolicy
- All Implemented Interfaces:
SecurityPolicy,Cloneable
Objects of this class represent a concrete WSS Authentication
token as FeatureBinding. The following WSS Authentication Tokens
are supported :
- A
UsernameToken - A
X509Certificate - A
SAMLAssertion
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA policy representing Kerberos Token.static classA policy representing a RSAKeyPair.static classA policy representing a SAML Assertion.static classA policy representing a WSS UsernameToken.static classA policy representing a WSS X509Certificate. -
Field Summary
Fields inherited from class com.sun.xml.wss.impl.policy.mls.WSSPolicy
_featureBinding, _isOptional, _keyBinding, _policyIdentifier, bsp, UUID -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.xml.wss.impl.policy.mls.WSSFeatureBindingExtension
newSAMLAssertionFeatureBinding, newUsernameTokenFeatureBinding, newX509CertificateFeatureBindingMethods inherited from class com.sun.xml.wss.impl.policy.mls.WSSPolicy
getFeatureBinding, getKeyBinding, getPolicyIdentifier, getUUID, isBSP, isBSP, isOptional, isOptional, setFeatureBinding, setKeyBinding, setPolicyIdentifier, setUUIDMethods inherited from class com.sun.xml.wss.impl.policy.MLSPolicy
isReadOnly, isReadOnly
-
Constructor Details
-
AuthenticationTokenPolicy
public AuthenticationTokenPolicy()Default Constructor
-
-
Method Details
-
equals
Equals operator -
equalsIgnoreTargets
- Specified by:
equalsIgnoreTargetsin classWSSPolicy
-
clone
Clone operator -
getType
Description copied from interface:SecurityPolicyGet the type of the policy.Implementation Note: Useful to avoid instanceof checks and String.equals checks
- Returns:
- the type of the policy
-