org.globus.wsrf.impl.security.descriptor
Class ResourceSecurityDescriptor
java.lang.Object
org.globus.wsrf.impl.security.descriptor.util.ElementParser
org.globus.wsrf.impl.security.descriptor.SecurityDescriptor
org.globus.wsrf.impl.security.descriptor.ServiceSecurityDescriptor
org.globus.wsrf.impl.security.descriptor.ResourceSecurityDescriptor
- All Implemented Interfaces:
- AuthMethodParserCallback, AuthzParamParserCallback, CredentialParamsParserCallback, ElementHandler, GlobalParamsParserCallback, RunAsParserCallback, java.io.Serializable
- public class ResourceSecurityDescriptor
- extends ServiceSecurityDescriptor
Represents a resouce's security descriptor.
- See Also:
- Serialized Form
| Methods inherited from class org.globus.wsrf.impl.security.descriptor.ServiceSecurityDescriptor |
getAuthMethods, getDefaultAuthMethods, getDefaultRunAsType, getRequiredAuthMethodsErrorMessage, getRunAsType, setAuthMethods, setAuthMethods, setMethodAuthMethods, setMethodAuthMethods, setMethodRunAsType, setMethodRunAsType, setRunAsType, setRunAsType |
| Methods inherited from class org.globus.wsrf.impl.security.descriptor.SecurityDescriptor |
getAuthz, getCertFilename, getContextLifetime, getGridMap, getGridMapFile, getKeyFilename, getLastModified, getProxyFilename, getRejectLimitedProxyState, getReplayAttackFilter, getReplayAttackWindow, getSubject, isRefreshRequired, setAuthz, setCertificateFiles, setContextLifetime, setGridMap, setGridMapFile, setLastModified, setProxyFilename, setRejectLimitedProxy, setReplayAttackFilter, setReplayAttackWindow, setSubject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initialized
boolean initialized
authzChain
ServiceAuthorizationChain authzChain
ResourceSecurityDescriptor
public ResourceSecurityDescriptor()
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.
getInitialized
public boolean getInitialized()
- Returns of descriptor has been initialized
setAuthzChain
public void setAuthzChain(java.lang.String chain,
PDPConfig config,
java.lang.String name,
java.lang.String id)
throws InitializeException
- Construct a ServiceAuthorizationChain object and sets the
instance in the descriptor.
- Throws:
InitializeException
setAuthzChain
public void setAuthzChain(ServiceAuthorizationChain chain)
- Sets the authorization chain in descriptor
- Overrides:
setAuthzChain in class SecurityDescriptor
- Parameters:
chain - Instance of ServiceAuthorizationChain
getAuthzChain
public ServiceAuthorizationChain getAuthzChain()
- Returns the configured service authorization chain
- Overrides:
getAuthzChain in class SecurityDescriptor
- Returns:
- Instance of ServiceAuthorizationChain