|
|||||||||||
| 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 | |
private java.util.List |
defaultAuthMethods
|
private int |
defaultRunAsType
|
private java.util.Map |
methodAuthMethods
|
private java.util.Map |
methodRunAsTypes
|
| 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 | |
java.util.List |
getAuthMethods(javax.xml.namespace.QName method)
Returns the authentication methods that need to be enforced for a said method. |
java.util.List |
getDefaultAuthMethods()
Returns default authentication methods that need to be enforced. |
int |
getDefaultRunAsType()
Returns default run-as type. |
java.lang.String |
getRequiredAuthMethodsErrorMessage(java.util.List methods,
javax.xml.namespace.QName opName)
|
int |
getRunAsType(javax.xml.namespace.QName method)
Returns configured run-as type. |
private void |
readObject(java.io.ObjectInputStream ois)
|
void |
setAuthMethods(java.util.List authMethods)
Sets the authentication mechanism required for invocation of methods. |
void |
setAuthMethods(java.util.List authMethods,
boolean overwrite)
Sets the authentication mechanism required for invocation of methods. |
void |
setMethodAuthMethods(javax.xml.namespace.QName method,
java.util.List authMethods)
Sets the authentication mechanism required for invocation of said method. |
void |
setMethodAuthMethods(javax.xml.namespace.QName method,
java.util.List authMethods,
boolean overwrite)
Sets the authentication mechanism required for invocation of said method. |
void |
setMethodRunAsType(javax.xml.namespace.QName method,
int identity)
Sets the credentials that need to be used in invoking method |
void |
setMethodRunAsType(javax.xml.namespace.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. |
private void |
writeObject(java.io.ObjectOutputStream oos)
|
| Methods inherited from class org.globus.wsrf.impl.security.descriptor.SecurityDescriptor |
getAuthz, getAuthzChain, getCertFilename, getContextLifetime, getGridMap, getGridMapFile, getKeyFilename, getLastModified, getProxyFilename, getRejectLimitedProxyState, getReplayAttackFilter, getReplayAttackWindow, getSubject, isRefreshRequired, setAuthz, setAuthzChain, setCertificateFiles, setContextLifetime, 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 |
| Field Detail |
private int defaultRunAsType
private java.util.Map methodRunAsTypes
private java.util.List defaultAuthMethods
private java.util.Map methodAuthMethods
| 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(javax.xml.namespace.QName method,
int identity)
throws SecurityDescriptorException
method - method nameidentity - can be one of RunAsConstants
SecurityDescriptorException
public void setMethodRunAsType(javax.xml.namespace.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(java.util.List authMethods)
throws SecurityDescriptorException
setAuthMethods in interface AuthMethodParserCallbackauthMethods - list of authentication mechanism that
implement AuthMethod
SecurityDescriptorException
public void setAuthMethods(java.util.List authMethods,
boolean overwrite)
throws SecurityDescriptorException
authMethods - list of authentication mechanism that
implement AuthMethodoverwrite - if true, overwrite existing configuration
SecurityDescriptorException
public void setMethodAuthMethods(javax.xml.namespace.QName method,
java.util.List authMethods)
throws SecurityDescriptorException
method - method nameauthMethods - list of authentication mechanism that
implement AuthMethod
SecurityDescriptorException
public void setMethodAuthMethods(javax.xml.namespace.QName method,
java.util.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(javax.xml.namespace.QName method)
public java.util.List getDefaultAuthMethods()
public java.util.List getAuthMethods(javax.xml.namespace.QName method)
method - QName of the method
public java.lang.String getRequiredAuthMethodsErrorMessage(java.util.List methods,
javax.xml.namespace.QName opName)
private void writeObject(java.io.ObjectOutputStream oos)
throws java.io.IOException
java.io.IOException
private void readObject(java.io.ObjectInputStream ois)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||