org.globus.wsrf.impl.security.descriptor
Class SecurityConfig

java.lang.Object
  |
  +--org.globus.wsrf.impl.security.descriptor.SecurityConfig
Direct Known Subclasses:
ContainerSecurityConfig, ResourceSecurityConfig, ServiceSecurityConfig

public abstract class SecurityConfig
extends Object

Helper base class for initialization and storing of security descriptor in JNDI


Field Summary
static String CONT_SEC_DESCRIPTOR
           
static String SECURITY_DESCRIPTOR
           
static String SECURITY_INIT_NAME
           
static String SECURITY_PROP
           
 
Constructor Summary
protected SecurityConfig(SecurityDescriptor desc)
           
protected SecurityConfig(String jndiPathName, String descriptorFile)
           
 
Method Summary
protected abstract  void initCredentials()
           
protected  void initialize()
           
protected  void initSecurityDescriptor()
           
protected abstract  void initSecurityDescriptor(Document doc)
           
protected static boolean isInitialized(String jndiPathName)
           
protected static boolean isRefreshRequired(SecurityDescriptor desc)
           
protected static boolean isRefreshRequired(String servicePath, String jndiPathName)
           
protected  void loadAuthorization()
           
protected  void loadCredentials()
           
protected  void loadGridMap()
           
protected  void loadSecurityDescriptor()
           
protected static ServiceAuthorization retrieveCustomAuthz(String jndiPath)
           
protected static GridMap retrieveGridMap(String jndiPath)
           
protected static SecurityDescriptor retrieveSecurityDescriptor(String jndiPath)
           
protected static Subject retrieveSubject(String jndiPath)
           
protected static void storeGridMap(GridMap gridmap, String jndiPath, SecurityDescriptor desc)
           
protected  void storeSecurityDescriptor()
           
protected static void storeSecurityDescriptor(SecurityDescriptor desc, String jndiPath)
           
protected static void storeSubject(Subject subject, String jndiPath, SecurityDescriptor desc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONT_SEC_DESCRIPTOR

public static final String CONT_SEC_DESCRIPTOR

SECURITY_PROP

public static final String SECURITY_PROP

SECURITY_DESCRIPTOR

public static final String SECURITY_DESCRIPTOR

SECURITY_INIT_NAME

public static final String SECURITY_INIT_NAME
Constructor Detail

SecurityConfig

protected SecurityConfig(String jndiPathName,
                         String descriptorFile)

SecurityConfig

protected SecurityConfig(SecurityDescriptor desc)
Method Detail

initSecurityDescriptor

protected abstract void initSecurityDescriptor(Document doc)
                                        throws ConfigException

initCredentials

protected abstract void initCredentials()
                                 throws ConfigException

storeSubject

protected static void storeSubject(Subject subject,
                                   String jndiPath,
                                   SecurityDescriptor desc)
                            throws ConfigException

storeGridMap

protected static void storeGridMap(GridMap gridmap,
                                   String jndiPath,
                                   SecurityDescriptor desc)
                            throws ConfigException

storeSecurityDescriptor

protected static void storeSecurityDescriptor(SecurityDescriptor desc,
                                              String jndiPath)
                                       throws ConfigException

retrieveSubject

protected static Subject retrieveSubject(String jndiPath)
                                  throws ConfigException

retrieveGridMap

protected static GridMap retrieveGridMap(String jndiPath)
                                  throws ConfigException

retrieveSecurityDescriptor

protected static SecurityDescriptor retrieveSecurityDescriptor(String jndiPath)
                                                        throws ConfigException

retrieveCustomAuthz

protected static ServiceAuthorization retrieveCustomAuthz(String jndiPath)
                                                   throws ConfigException

initialize

protected void initialize()
                   throws ConfigException

isInitialized

protected static boolean isInitialized(String jndiPathName)
                                throws ConfigException

initSecurityDescriptor

protected void initSecurityDescriptor()
                               throws ConfigException

loadSecurityDescriptor

protected void loadSecurityDescriptor()
                               throws ConfigException

loadCredentials

protected void loadCredentials()
                        throws GSSException,
                               GlobusCredentialException,
                               ConfigException

loadGridMap

protected void loadGridMap()
                    throws ConfigException

loadAuthorization

protected void loadAuthorization()
                          throws ConfigException

storeSecurityDescriptor

protected void storeSecurityDescriptor()
                                throws ConfigException

isRefreshRequired

protected static boolean isRefreshRequired(String servicePath,
                                           String jndiPathName)
                                    throws ConfigException

isRefreshRequired

protected static boolean isRefreshRequired(SecurityDescriptor desc)
                                    throws ConfigException


Copyright © 1999-2003 University of Chicago and The University of Southern California. All rights reserved.