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

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

public class MethodParser
extends ElementParser
implements RunAsParserCallback, AuthMethodParserCallback


Field Summary
protected  SecurityDescriptor descriptor
           
protected  javax.xml.namespace.QName method
           
static javax.xml.namespace.QName QNAME
           
 
Fields inherited from class org.globus.ogsa.impl.security.descriptor.util.ElementParser
elementHandlers
 
Constructor Summary
MethodParser(SecurityDescriptor descriptor)
           
 
Method Summary
 void parse(org.w3c.dom.Element element)
           
 void setAuthMethods(java.util.List methods)
          A list of AuthMethod elements
 void setRunAsType(int identity)
           
 
Methods inherited from class org.globus.ogsa.impl.security.descriptor.util.ElementParser
checkElement, getFirstChildElement, getQName, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QNAME

public static final javax.xml.namespace.QName QNAME

descriptor

protected SecurityDescriptor descriptor

method

protected javax.xml.namespace.QName method
Constructor Detail

MethodParser

public MethodParser(SecurityDescriptor descriptor)
Method Detail

parse

public void parse(org.w3c.dom.Element element)
           throws ElementParserException
Specified by:
parse in interface ElementHandler
Overrides:
parse in class ElementParser
Throws:
ElementParserException

setRunAsType

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

setAuthMethods

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

Specified by:
setAuthMethods in interface AuthMethodParserCallback
Throws:
SecurityDescriptorException


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