|
||||||||||
| 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.KeyBindingBase
com.sun.xml.wss.impl.policy.mls.AuthenticationTokenPolicy.KerberosTokenBinding
public static class AuthenticationTokenPolicy.KerberosTokenBinding
A policy representing Kerberos Token. An instance of this class can be used as concrete feature binding for an AuthenticationTokenPolicy
| Field Summary |
|---|
| Fields inherited from class com.sun.xml.wss.impl.policy.mls.KeyBindingBase |
|---|
claims, claimsDialect, INCLUDE_ALWAYS, INCLUDE_ALWAYS_TO_RECIPIENT, INCLUDE_ALWAYS_TO_RECIPIENT_VER2, INCLUDE_ALWAYS_VER2, INCLUDE_NEVER, INCLUDE_NEVER_VER2, INCLUDE_ONCE, INCLUDE_ONCE_VER2, includeToken, issuer, policyToken |
| 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.KerberosTokenBinding()
Default constructor |
|
| Method Summary | |
|---|---|
Object |
clone()
Clone operator |
boolean |
equals(WSSPolicy policy)
equals operator |
boolean |
equalsIgnoreTargets(WSSPolicy policy)
|
String |
getEncodingType()
|
String |
getKeyAlgorithm()
|
String |
getReferenceType()
|
SecretKey |
getSecretKey()
|
String |
getSTRID()
|
byte[] |
getTokenValue()
|
String |
getType()
Get the type of the policy. |
String |
getValueType()
|
void |
setEncodingType(String encodingType)
|
void |
setIncludeToken(String include)
override the method from KeyBindingBase as we will support IncludeToken=Once in Kerberos token profile |
void |
setKeyAlgorithm(String keyAlgorithm)
|
void |
setReferenceType(String referenceType)
set the ReferenceType |
void |
setSecretKey(SecretKey secretKey)
Set the symmetric key |
void |
setSTRID(String id)
|
void |
setTokenValue(byte[] token)
|
void |
setValueType(String valueType)
set the ValueType |
| Methods inherited from class com.sun.xml.wss.impl.policy.mls.KeyBindingBase |
|---|
getClaims, getIncludeToken, getIssuer, policyTokenWasSet, setClaims, setIssuer, setPolicyTokenFlag |
| 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.KerberosTokenBinding()
| Method Detail |
|---|
public void setValueType(String valueType)
valueType - attribute like Kerberosv5_AP_REQpublic void setReferenceType(String referenceType)
referenceType - allowed values are Direct and KeyIdentifierpublic void setEncodingType(String encodingType)
public void setTokenValue(byte[] token)
public void setSTRID(String id)
public String getSTRID()
public String getValueType()
public String getReferenceType()
public String getEncodingType()
public byte[] getTokenValue()
public void setKeyAlgorithm(String keyAlgorithm)
keyAlgorithm - the keyAlgorithmpublic String getKeyAlgorithm()
public void setSecretKey(SecretKey secretKey)
secretKey - the SecretKeypublic SecretKey getSecretKey()
public Object clone()
clone in class WSSPolicySignaturePolicy,
EncryptionPolicy,
AuthenticationTokenPolicypublic boolean equals(WSSPolicy policy)
WSSPolicy
equals in class WSSPolicypolicy - to be compared for equality
SignaturePolicy,
EncryptionPolicy,
AuthenticationTokenPolicy,
PrivateKeyBinding,
SymmetricKeyBindingpublic boolean equalsIgnoreTargets(WSSPolicy policy)
equalsIgnoreTargets in class WSSPolicypublic String getType()
SecurityPolicyImplementation Note: Useful to avoid instanceof checks and String.equals checks
public void setIncludeToken(String include)
setIncludeToken in class KeyBindingBaseinclude - the value of IncludeToken parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||