|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.globus.wsrf.impl.security.descriptor.SecurityConfig
|
+--org.globus.wsrf.impl.security.descriptor.ServiceSecurityConfig
Helper class for initialization of service security descriptor. All values returned from this class are determined by the security descriptor file configured for the said service. If a file was not configured, null is returned.
| Fields inherited from class org.globus.wsrf.impl.security.descriptor.SecurityConfig |
CONT_SEC_DESCRIPTOR, SECURITY_DESCRIPTOR, SECURITY_INIT_NAME, SECURITY_PROP |
| Method Summary | |
static ServiceAuthorization |
getCustomAuthz(String jndiPath)
Retrieves the configured custom authorization class. |
static GridMap |
getGridMap(String jndiPath)
Retrieves the GridMap for this service |
static ServiceSecurityDescriptor |
getSecurityDescriptor(String jndiPath)
Retrieves the ServiceSecurityDescriptor for this service |
static Subject |
getSubject(String jndiPath)
Retrieves the Subject for this service |
static Subject |
getSubject(String servicePath,
String descFile)
Returns subject configured in security descriptor of the service |
protected void |
initCredentials()
|
static void |
initialize(String servicePath,
String descFile)
|
protected void |
initSecurityDescriptor(Document doc)
|
static void |
refresh(String jndiPath,
String descFilename)
Reloads the credentials, if need be. |
static void |
setGridMap(GridMap gridmap,
String jndiPath)
Stores the GridMap for this service, overwriting whatever
exists. |
static void |
setSecurityDescriptor(ServiceSecurityDescriptor desc,
String jndiPath)
Stores the ServiceSecurityDescriptor for this
service, overwriting whatever exists. |
static void |
setSubject(Subject subject,
String jndiPath)
Stores the Subject for this service, overwriting whatever
exists. |
| Methods inherited from class org.globus.wsrf.impl.security.descriptor.SecurityConfig |
initialize, initSecurityDescriptor, isInitialized, isRefreshRequired, isRefreshRequired, loadAuthorization, loadCredentials, loadGridMap, loadSecurityDescriptor, retrieveCustomAuthz, retrieveGridMap, retrieveSecurityDescriptor, retrieveSubject, storeGridMap, storeSecurityDescriptor, storeSecurityDescriptor, storeSubject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static void initialize(String servicePath,
String descFile)
throws ConfigException
protected void initSecurityDescriptor(Document doc)
throws ConfigException
initSecurityDescriptor in class SecurityConfig
protected void initCredentials()
throws ConfigException
initCredentials in class SecurityConfig
public static Subject getSubject(String servicePath,
String descFile)
throws ConfigException
public static void refresh(String jndiPath,
String descFilename)
throws ConfigException
public static void setSubject(Subject subject,
String jndiPath)
throws ConfigException
Subject for this service, overwriting whatever
exists. refresh
is called, it overwrites the subject with whatever subject is
generated from the credentials configured in the security
descriptor. If no security desacriptor file was specified,
these credentials are never refreshed.
public static void setGridMap(GridMap gridmap,
String jndiPath)
throws ConfigException
GridMap for this service, overwriting whatever
exists.
public static void setSecurityDescriptor(ServiceSecurityDescriptor desc,
String jndiPath)
throws ConfigException
ServiceSecurityDescriptor for this
service, overwriting whatever exists.
public static Subject getSubject(String jndiPath)
throws ConfigException
Subject for this service
public static GridMap getGridMap(String jndiPath)
throws ConfigException
GridMap for this service
public static ServiceSecurityDescriptor getSecurityDescriptor(String jndiPath)
throws ConfigException
ServiceSecurityDescriptor for this service
public static ServiceAuthorization getCustomAuthz(String jndiPath)
throws ConfigException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||