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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
SecurityConfig
protected SecurityConfig(String jndiPathName,
String descriptorFile)
SecurityConfig
protected SecurityConfig(SecurityDescriptor desc)
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.