|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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.KerberosTokenBinding
A policy representing Kerberos Token. |
static class |
AuthenticationTokenPolicy.KeyValueTokenBinding
A policy representing a RSAKeyPair. |
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. |
| Field Summary |
|---|
| Fields inherited from class com.sun.xml.wss.impl.policy.mls.WSSPolicy |
|---|
_featureBinding, _isOptional, _keyBinding, _policyIdentifier, bsp, UUID |
| Fields inherited from class com.sun.xml.wss.impl.policy.MLSPolicy |
|---|
readonly |
| Constructor Summary | |
|---|---|
AuthenticationTokenPolicy()
Default Constructor |
|
| Method Summary | |
|---|---|
Object |
clone()
Clone operator |
boolean |
equals(WSSPolicy policy)
Equals operator |
boolean |
equalsIgnoreTargets(WSSPolicy policy)
|
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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthenticationTokenPolicy()
| Method Detail |
|---|
public boolean equals(WSSPolicy policy)
equals in class WSSPolicypolicy - WSSPolicy to be compared for equality
SignaturePolicy,
EncryptionPolicy,
AuthenticationTokenPolicy,
PrivateKeyBinding,
SymmetricKeyBindingpublic boolean equalsIgnoreTargets(WSSPolicy policy)
equalsIgnoreTargets in class WSSPolicypublic Object clone()
clone in class WSSPolicySignaturePolicy,
EncryptionPolicy,
AuthenticationTokenPolicypublic String getType()
SecurityPolicyImplementation 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 | |||||||||