org.globus.ogsa.impl.security.descriptor
Class SecurityDescriptor

java.lang.Object
  extended byorg.globus.ogsa.impl.security.descriptor.util.ElementParser
      extended byorg.globus.ogsa.impl.security.descriptor.SecurityDescriptor
All Implemented Interfaces:
AuthMethodParserCallback, ElementHandler, GlobalParamsParserCallback, RunAsParserCallback

public class SecurityDescriptor
extends ElementParser
implements RunAsParserCallback, AuthMethodParserCallback, GlobalParamsParserCallback


Field Summary
static java.lang.String NS
           
static java.lang.String RESOURCE
           
 
Fields inherited from class org.globus.ogsa.impl.security.descriptor.util.ElementParser
elementHandlers
 
Constructor Summary
SecurityDescriptor()
           
 
Method Summary
 java.util.List getAuthMethods(javax.xml.namespace.QName method)
           
 java.lang.Integer getContextLifetime()
           
 java.util.List getDefaultAuthMethods()
           
 int getDefaultRunAsType()
           
 boolean getRejectLimitedProxyState()
           
 java.lang.String getRequiredAuthMethodsErrorMessage(java.util.List methods, javax.xml.namespace.QName opName)
           
 int getRunAsType(javax.xml.namespace.QName method)
           
 void setAuthMethods(java.util.List authMethods)
          A list of AuthMethod elements
 void setContextLifetime(java.lang.Integer lifetime)
           
 void setMethodAuthMethods(javax.xml.namespace.QName method, java.util.List authMethods)
           
 void setMethodRunAsType(javax.xml.namespace.QName method, int identity)
           
 void setRejectLimitedProxy()
           
 void setRunAsType(int runAsType)
           
 
Methods inherited from class org.globus.ogsa.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

RESOURCE

public static final java.lang.String RESOURCE
See Also:
Constant Field Values

NS

public static final java.lang.String NS
See Also:
Constant Field Values
Constructor Detail

SecurityDescriptor

public SecurityDescriptor()
Method Detail

setRunAsType

public void setRunAsType(int runAsType)
                  throws SecurityDescriptorException
Specified by:
setRunAsType in interface RunAsParserCallback
Throws:
SecurityDescriptorException

setMethodRunAsType

public void setMethodRunAsType(javax.xml.namespace.QName method,
                               int identity)
                        throws SecurityDescriptorException
Throws:
SecurityDescriptorException

setAuthMethods

public void setAuthMethods(java.util.List authMethods)
                    throws SecurityDescriptorException
Description copied from interface: AuthMethodParserCallback
A list of AuthMethod elements

Specified by:
setAuthMethods in interface AuthMethodParserCallback
Throws:
SecurityDescriptorException

setMethodAuthMethods

public void setMethodAuthMethods(javax.xml.namespace.QName method,
                                 java.util.List authMethods)
                          throws SecurityDescriptorException
Throws:
SecurityDescriptorException

setContextLifetime

public void setContextLifetime(java.lang.Integer lifetime)
Specified by:
setContextLifetime in interface GlobalParamsParserCallback

setRejectLimitedProxy

public void setRejectLimitedProxy()
Specified by:
setRejectLimitedProxy in interface GlobalParamsParserCallback

getDefaultRunAsType

public int getDefaultRunAsType()

getRunAsType

public int getRunAsType(javax.xml.namespace.QName method)

getDefaultAuthMethods

public java.util.List getDefaultAuthMethods()

getAuthMethods

public java.util.List getAuthMethods(javax.xml.namespace.QName method)

getRequiredAuthMethodsErrorMessage

public java.lang.String getRequiredAuthMethodsErrorMessage(java.util.List methods,
                                                           javax.xml.namespace.QName opName)

getContextLifetime

public java.lang.Integer getContextLifetime()

getRejectLimitedProxyState

public boolean getRejectLimitedProxyState()


Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.