org.globus.wsrf.impl.security.descriptor
Class ResourceSecurityDescriptor
java.lang.Object
org.globus.wsrf.impl.security.descriptor.SecurityDescriptor
org.globus.wsrf.impl.security.descriptor.ServiceSecurityDescriptor
org.globus.wsrf.impl.security.descriptor.ResourceSecurityDescriptor
- All Implemented Interfaces:
- java.io.Serializable
public class ResourceSecurityDescriptor
- extends ServiceSecurityDescriptor
Represents a resource secrity descriptor.
- See Also:
- Serialized Form
|
Method Summary |
void |
initialize()
Initializes the descriptor, if initialized is set to false. |
boolean |
isInitialized()
Returns of descriptor has been initialized |
void |
refresh()
|
void |
setInitialized(boolean state)
Sets property to indicate of descriptor has been
initialized. |
void |
setPDP(java.lang.String pdpName)
|
| Methods inherited from class org.globus.wsrf.impl.security.descriptor.ServiceSecurityDescriptor |
addBootstrapPIP, addPDP, addPIP, getAuthMethods, getAuthMethods, getCertKeyFileName, getContextLifetime, getDefaultAuthMethods, getDefaultGridMap, getDefaultRunAs, getMethodAuthMethod, getMethodRunAs, getProxyFileName, getRejectLimitedProxy, getReplayAttackFilter, getReplayAttackWindow, getRequiredAuthMethodsErrorMessage, getRunAsType, getRunAsType, getSecurityDescriptor, initAuthenticationConfig, initAuthorizationConfig, initialize, isRefreshRequired, loadCredential, loadCredentials, setAuthMethods, setAuthMethods, setBootstrapPIP, setDefaultAuthMethods, setDefaultGridMap, setDefaultRunAs, setMethodAuthMethod, setMethodRunAs, setPDP, setPIP, setRunAsType, setRunAsType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initialized
boolean initialized
ResourceSecurityDescriptor
public ResourceSecurityDescriptor()
ResourceSecurityDescriptor
public ResourceSecurityDescriptor(java.lang.String resourceDescFilename)
throws ConfigException
- Throws:
ConfigException
ResourceSecurityDescriptor
public ResourceSecurityDescriptor(ServiceSecurityConfig desc_)
throws ConfigException
- Throws:
ConfigException
initialize
public void initialize()
throws ConfigException
- Initializes the descriptor, if initialized is set to false.
- Throws:
ConfigException
setInitialized
public void setInitialized(boolean state)
- Sets property to indicate of descriptor has been
initialized. If true, then credentials and gridmap are assumed
to be loaded. To force initialization by framework (i.e
loading of credentials/gridmap from file), set it to false.
isInitialized
public boolean isInitialized()
- Returns of descriptor has been initialized
setPDP
public void setPDP(java.lang.String pdpName)
throws ConfigException
- Throws:
ConfigException
refresh
public void refresh()
throws ConfigException
- Overrides:
refresh in class SecurityDescriptor
- Throws:
ConfigException