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

java.lang.Object
  extended by com.sun.enterprise.security.jmac.provider.BaseAuthConfig
Direct Known Subclasses:
ClientAuthConfig, ServerAuthConfig

public class BaseAuthConfig
extends java.lang.Object

This class is the container's base 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). The ServerAuthConfig and ClientAuthConfig classes extend this class.


Constructor Summary
protected BaseAuthConfig(java.util.ArrayList descriptors, java.util.ArrayList authContexts)
           
protected BaseAuthConfig(java.lang.Object context)
           
 
Method Summary
protected static AuthPolicy getAuthPolicy(ProtectionDescriptor pd)
           
protected  java.lang.Object getContext(javax.xml.ws.handler.soap.SOAPMessageContext soapMC)
           
protected  java.lang.Object getContext(com.sun.xml.rpc.spi.runtime.StreamingHandler handler, javax.xml.soap.SOAPMessage message)
           
protected  java.lang.Object getContextForOpCode(com.sun.xml.rpc.spi.runtime.StreamingHandler handler, int opcode)
           
 javax.xml.namespace.QName[] getMechanisms()
           
static java.lang.reflect.Method getMethod(javax.xml.ws.handler.soap.SOAPMessageContext soapMC)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseAuthConfig

protected BaseAuthConfig(java.lang.Object context)

BaseAuthConfig

protected BaseAuthConfig(java.util.ArrayList descriptors,
                         java.util.ArrayList authContexts)
Method Detail

getAuthPolicy

protected static AuthPolicy getAuthPolicy(ProtectionDescriptor pd)

getContextForOpCode

protected java.lang.Object getContextForOpCode(com.sun.xml.rpc.spi.runtime.StreamingHandler handler,
                                               int opcode)
                                        throws java.lang.ClassNotFoundException,
                                               java.lang.NoSuchMethodException
Throws:
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException

getContext

protected java.lang.Object getContext(com.sun.xml.rpc.spi.runtime.StreamingHandler handler,
                                      javax.xml.soap.SOAPMessage message)

getContext

protected java.lang.Object getContext(javax.xml.ws.handler.soap.SOAPMessageContext soapMC)

getMethod

public static java.lang.reflect.Method getMethod(javax.xml.ws.handler.soap.SOAPMessageContext soapMC)

getMechanisms

public javax.xml.namespace.QName[] getMechanisms()


Copyright © 2012 GlassFish Community. All Rights Reserved.