Class TokenProcessor
- java.lang.Object
-
- com.sun.xml.ws.security.impl.policyconv.TokenProcessor
-
public class TokenProcessor extends Object
- Author:
- K.Venugopal@sun.com
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanisIncomingprotected booleanisServer
-
Constructor Summary
Constructors Constructor Description TokenProcessor(boolean isServer, boolean isIncoming, PolicyID pid)Creates a new instance of TokenProcessor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddKeyBinding(Binding binding, WSSPolicy policy, Token token, boolean ignoreDK)WSSPolicygetWSSToken(Token token)protected voidsetKerberosTokenRefType(AuthenticationTokenPolicy.KerberosTokenBinding kerberosBinding, KerberosToken token)protected voidsetTokenInclusion(KeyBindingBase xwssToken, Token token)voidsetTokenValueType(AuthenticationTokenPolicy.KerberosTokenBinding kerberosBinding, PolicyAssertion tokenAssertion)voidsetTokenValueType(AuthenticationTokenPolicy.X509CertificateBinding x509CB, PolicyAssertion tokenAssertion)protected voidsetUsernameTokenRefType(AuthenticationTokenPolicy.UsernameTokenBinding untBinding, UsernameToken unToken)protected voidsetX509TokenRefType(AuthenticationTokenPolicy.X509CertificateBinding x509CB, X509Token token)
-
-
-
Constructor Detail
-
TokenProcessor
public TokenProcessor(boolean isServer, boolean isIncoming, PolicyID pid)Creates a new instance of TokenProcessor
-
-
Method Detail
-
setX509TokenRefType
protected void setX509TokenRefType(AuthenticationTokenPolicy.X509CertificateBinding x509CB, X509Token token)
-
setKerberosTokenRefType
protected void setKerberosTokenRefType(AuthenticationTokenPolicy.KerberosTokenBinding kerberosBinding, KerberosToken token)
-
setUsernameTokenRefType
protected void setUsernameTokenRefType(AuthenticationTokenPolicy.UsernameTokenBinding untBinding, UsernameToken unToken)
-
addKeyBinding
public void addKeyBinding(Binding binding, WSSPolicy policy, Token token, boolean ignoreDK) throws PolicyException
- Throws:
PolicyException
-
setTokenInclusion
protected void setTokenInclusion(KeyBindingBase xwssToken, Token token) throws PolicyException
- Throws:
PolicyException
-
getWSSToken
public WSSPolicy getWSSToken(Token token) throws PolicyException
- Throws:
PolicyException
-
setTokenValueType
public void setTokenValueType(AuthenticationTokenPolicy.X509CertificateBinding x509CB, PolicyAssertion tokenAssertion)
-
setTokenValueType
public void setTokenValueType(AuthenticationTokenPolicy.KerberosTokenBinding kerberosBinding, PolicyAssertion tokenAssertion)
-
-