|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.wsrf.impl.security.descriptor.util.ElementParser
org.globus.wsrf.impl.security.descriptor.SecurityDescriptor
org.globus.wsrf.impl.security.descriptor.ServiceSecurityDescriptor
Represents a service's security descriptor.
| Field Summary |
| Fields inherited from class org.globus.wsrf.impl.security.descriptor.SecurityDescriptor |
i18n, NS, RESOURCE |
| Fields inherited from class org.globus.wsrf.impl.security.descriptor.util.ElementParser |
elementHandlers |
| Constructor Summary | |
ServiceSecurityDescriptor()
|
|
| Method Summary | |
List |
getAuthMethods(QName method)
|
List |
getDefaultAuthMethods()
|
int |
getDefaultRunAsType()
|
String |
getRequiredAuthMethodsErrorMessage(List methods,
QName opName)
|
int |
getRunAsType(QName method)
|
void |
setAuthMethods(List authMethods)
Sets the authentication mechanism required for invocation of methods. |
void |
setAuthMethods(List authMethods,
boolean overwrite)
Sets the authentication mechanism required for invocation of methods. |
void |
setMethodAuthMethods(QName method,
List authMethods)
Sets the authentication mechanism required for invocation of said method. |
void |
setMethodAuthMethods(QName method,
List authMethods,
boolean overwrite)
Sets the authentication mechanism required for invocation of said method. |
void |
setMethodRunAsType(QName method,
int identity)
Sets the credentials that need to be used in invoking method |
void |
setMethodRunAsType(QName method,
int identity,
boolean overwrite)
Sets the credentials that need to be used in invoking method |
void |
setRunAsType(int runAsType)
Sets the credentials that need to be used in invocation of methods that do not have any run-as specified using setMethodRunAsType. |
void |
setRunAsType(int runAsType,
boolean overwrite)
Sets the credentials that need to be used in invocation of methods that do not have any run-as specified using setMethodRunAsType. |
| Methods inherited from class org.globus.wsrf.impl.security.descriptor.SecurityDescriptor |
getAuthz, getCertFilename, getContextLifetime, getCustomAuthzClass, getCustomAuthzClassName, getGridMap, getGridMapFile, getKeyFilename, getLastModified, getProxyFilename, getRejectLimitedProxyState, getReplayAttackFilter, getReplayAttackWindow, getSubject, setAuthz, setCertificateFiles, setContextLifetime, setCustomAuthzClass, setCustomAuthzClassName, setGridMap, setGridMapFile, setLastModified, setProxyFilename, setRejectLimitedProxy, setReplayAttackFilter, setReplayAttackWindow, setSubject |
| Methods inherited from class org.globus.wsrf.impl.security.descriptor.util.ElementParser |
checkElement, getFirstChildElement, getQName, parse, register |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServiceSecurityDescriptor()
| Method Detail |
public void setRunAsType(int runAsType)
throws SecurityDescriptorException
setMethodRunAsType.
setRunAsType in interface RunAsParserCallbackrunAsType - can be one of RunAsConstants
SecurityDescriptorException
public void setRunAsType(int runAsType,
boolean overwrite)
throws SecurityDescriptorException
setMethodRunAsType.
runAsType - can be one of RunAsConstantsoverwrite - if true, overwrite existing configuration
SecurityDescriptorException
public void setMethodRunAsType(QName method,
int identity)
throws SecurityDescriptorException
method - method nameidentity - can be one of RunAsConstants
SecurityDescriptorException
public void setMethodRunAsType(QName method,
int identity,
boolean overwrite)
throws SecurityDescriptorException
method - method nameidentity - can be one of RunAsConstantsoverwrite - if true, overwrite existing configuration
SecurityDescriptorException
public void setAuthMethods(List authMethods)
throws SecurityDescriptorException
setAuthMethods in interface AuthMethodParserCallbackauthMethods - list of authentication mechanism that
implement AuthMethod
SecurityDescriptorException
public void setAuthMethods(List authMethods,
boolean overwrite)
throws SecurityDescriptorException
authMethods - list of authentication mechanism that
implement AuthMethodoverwrite - if true, overwrite existing configuration
SecurityDescriptorException
public void setMethodAuthMethods(QName method,
List authMethods)
throws SecurityDescriptorException
method - method nameauthMethods - list of authentication mechanism that
implement AuthMethod
SecurityDescriptorException
public void setMethodAuthMethods(QName method,
List authMethods,
boolean overwrite)
throws SecurityDescriptorException
method - method nameauthMethods - list of authentication mechanism that
implement AuthMethodoverwrite - if true, overwrite existing configuration
SecurityDescriptorExceptionpublic int getDefaultRunAsType()
public int getRunAsType(QName method)
public List getDefaultAuthMethods()
public List getAuthMethods(QName method)
public String getRequiredAuthMethodsErrorMessage(List methods,
QName opName)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||