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

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

public class ServerAuthConfig
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
 ServerAuthContext getAuthContext(javax.xml.ws.handler.soap.SOAPMessageContext context)
           
 ServerAuthContext getAuthContext(com.sun.xml.rpc.spi.runtime.StreamingHandler handler, javax.xml.soap.SOAPMessage message)
           
 ServerAuthContext getAuthContextForOpCode(com.sun.xml.rpc.spi.runtime.StreamingHandler handler, int opcode)
           
static ServerAuthConfig 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 ServerAuthConfig getConfig(java.lang.String authLayer,
                                         MessageSecurityBindingDescriptor binding,
                                         javax.security.auth.callback.CallbackHandler cbh)
                                  throws AuthException
Throws:
AuthException

getAuthContext

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

getAuthContext

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

getAuthContextForOpCode

public ServerAuthContext 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.