com.sun.enterprise.security.jmac.provider
Class ClientAuthConfig

java.lang.Object
  extended by com.sun.enterprise.security.jmac.provider.BaseAuthConfig
      extended by com.sun.enterprise.security.jmac.provider.ClientAuthConfig

public class ClientAuthConfig
extends BaseAuthConfig

This class is the client container's interface to the AuthConfig subsystem to get AuthContext objects on which to invoke message layer authentication providers. It is not intended to be layer or web services specific (see getMechanisms method at end).


Method Summary
 ClientAuthContext getAuthContext(javax.xml.ws.handler.soap.SOAPMessageContext context)
           
 ClientAuthContext getAuthContext(com.sun.xml.rpc.spi.runtime.StreamingHandler handler, javax.xml.soap.SOAPMessage message)
           
 ClientAuthContext getAuthContextForOpCode(com.sun.xml.rpc.spi.runtime.StreamingHandler handler, int opcode)
           
static ClientAuthConfig getConfig(java.lang.String authLayer, MessageSecurityBindingDescriptor binding, javax.security.auth.callback.CallbackHandler cbh)
           
 
Methods inherited from class com.sun.enterprise.security.jmac.provider.BaseAuthConfig
getAuthPolicy, getContext, getContext, getContextForOpCode, getMechanisms, getMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConfig

public static ClientAuthConfig getConfig(java.lang.String authLayer,
                                         MessageSecurityBindingDescriptor binding,
                                         javax.security.auth.callback.CallbackHandler cbh)
                                  throws AuthException
Throws:
AuthException

getAuthContext

public ClientAuthContext getAuthContext(com.sun.xml.rpc.spi.runtime.StreamingHandler handler,
                                        javax.xml.soap.SOAPMessage message)

getAuthContext

public ClientAuthContext getAuthContext(javax.xml.ws.handler.soap.SOAPMessageContext context)

getAuthContextForOpCode

public ClientAuthContext getAuthContextForOpCode(com.sun.xml.rpc.spi.runtime.StreamingHandler handler,
                                                 int opcode)
                                          throws java.lang.ClassNotFoundException,
                                                 java.lang.NoSuchMethodException
Throws:
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException


Copyright © 2012 GlassFish Community. All Rights Reserved.