com.sun.xml.ws.security.impl.policyconv
Class TokenProcessor

java.lang.Object
  extended by com.sun.xml.ws.security.impl.policyconv.TokenProcessor

public class TokenProcessor
extends Object

Author:
K.Venugopal@sun.com

Field Summary
protected  boolean isIncoming
           
protected  boolean isServer
           
 
Constructor Summary
TokenProcessor(boolean isServer, boolean isIncoming, PolicyID pid)
          Creates a new instance of TokenProcessor
 
Method Summary
 void addKeyBinding(Binding binding, WSSPolicy policy, Token token, boolean ignoreDK)
           
 WSSPolicy getWSSToken(Token token)
           
protected  void setKerberosTokenRefType(AuthenticationTokenPolicy.KerberosTokenBinding kerberosBinding, KerberosToken token)
           
protected  void setTokenInclusion(KeyBindingBase xwssToken, Token token)
           
 void setTokenValueType(AuthenticationTokenPolicy.KerberosTokenBinding kerberosBinding, PolicyAssertion tokenAssertion)
           
 void setTokenValueType(AuthenticationTokenPolicy.X509CertificateBinding x509CB, PolicyAssertion tokenAssertion)
           
protected  void setUsernameTokenRefType(AuthenticationTokenPolicy.UsernameTokenBinding untBinding, UsernameToken unToken)
           
protected  void setX509TokenRefType(AuthenticationTokenPolicy.X509CertificateBinding x509CB, X509Token token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isServer

protected boolean isServer

isIncoming

protected boolean isIncoming
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)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.