org.jboss.security.plugins
Class JaasSecurityManagerService.SecurityDomainObjectFactory

java.lang.Object
  extended by org.jboss.security.plugins.JaasSecurityManagerService.SecurityDomainObjectFactory
All Implemented Interfaces:
InvocationHandler, ObjectFactory
Enclosing class:
JaasSecurityManagerService

public static class JaasSecurityManagerService.SecurityDomainObjectFactory
extends Object
implements InvocationHandler, ObjectFactory


Constructor Summary
JaasSecurityManagerService.SecurityDomainObjectFactory()
           
 
Method Summary
 Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment)
          Object factory implementation.
 Object invoke(Object obj, Method method, Object[] args)
          This is the InvocationHandler callback for the Context interface that was created by out getObjectInstance() method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaasSecurityManagerService.SecurityDomainObjectFactory

public JaasSecurityManagerService.SecurityDomainObjectFactory()
Method Detail

getObjectInstance

public Object getObjectInstance(Object obj,
                                Name name,
                                Context nameCtx,
                                Hashtable environment)
                         throws Exception
Object factory implementation. This method returns a Context proxy that is only able to handle a lookup operation for an atomic name of a security domain.

Specified by:
getObjectInstance in interface ObjectFactory
Throws:
Exception

invoke

public Object invoke(Object obj,
                     Method method,
                     Object[] args)
              throws Throwable
This is the InvocationHandler callback for the Context interface that was created by out getObjectInstance() method. We handle the java:/jaas/domain level operations here.

Specified by:
invoke in interface InvocationHandler
Throws:
Throwable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.