|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
public class AuthenticationTokenPolicy
Objects of this class represent a concrete WSS Authentication token as FeatureBinding. The following WSS Authentication Tokens are supported :
UsernameToken
X509Certificate
SAMLAssertion
Nested Class Summary | |
---|---|
static class |
AuthenticationTokenPolicy.SAMLAssertionBinding
A policy representing a SAML Assertion. |
static class |
AuthenticationTokenPolicy.UsernameTokenBinding
A policy representing a WSS UsernameToken. |
static class |
AuthenticationTokenPolicy.X509CertificateBinding
A policy representing a WSS X509Certificate. |
Constructor Summary | |
---|---|
AuthenticationTokenPolicy()
Default Constructor |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone operator |
boolean |
equals(WSSPolicy policy)
Equals operator |
boolean |
equalsIgnoreTargets(WSSPolicy policy)
|
java.lang.String |
getType()
Get the type of the policy. |
Methods inherited from class com.sun.xml.wss.impl.policy.mls.WSSFeatureBindingExtension |
---|
newSAMLAssertionFeatureBinding, newUsernameTokenFeatureBinding, newX509CertificateFeatureBinding |
Methods inherited from class com.sun.xml.wss.impl.policy.mls.WSSPolicy |
---|
getFeatureBinding, getKeyBinding, getPolicyIdentifier, getUUID, isBSP, isBSP, isOptional, isOptional, setFeatureBinding, setKeyBinding, setPolicyIdentifier, setUUID |
Methods inherited from class com.sun.xml.wss.impl.policy.MLSPolicy |
---|
isReadOnly, isReadOnly |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthenticationTokenPolicy()
Method Detail |
---|
public boolean equals(WSSPolicy policy)
equals
in class WSSPolicy
policy
- WSSPolicy
to be compared for equality
SignaturePolicy
,
EncryptionPolicy
,
AuthenticationTokenPolicy
,
PrivateKeyBinding
,
SymmetricKeyBinding
public boolean equalsIgnoreTargets(WSSPolicy policy)
equalsIgnoreTargets
in class WSSPolicy
public java.lang.Object clone()
clone
in class WSSPolicy
SignaturePolicy
,
EncryptionPolicy
,
AuthenticationTokenPolicy
public java.lang.String getType()
SecurityPolicy
Implementation Note: Useful to avoid instanceof checks and String.equals checks
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |