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

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

public class MethodParser
extends ElementParser
implements RunAsParserCallback, AuthMethodParserCallback

See Also:
Serialized Form

Field Summary
protected  ServiceSecurityDescriptor descriptor
           
private static org.globus.util.I18n i18n
           
protected  javax.xml.namespace.QName method
           
static javax.xml.namespace.QName QNAME
           
 
Fields inherited from class org.globus.wsrf.impl.security.descriptor.util.ElementParser
elementHandlers
 
Constructor Summary
MethodParser(ServiceSecurityDescriptor 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.wsrf.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

i18n

private static org.globus.util.I18n i18n

QNAME

public static final javax.xml.namespace.QName QNAME

descriptor

protected ServiceSecurityDescriptor descriptor

method

protected javax.xml.namespace.QName method
Constructor Detail

MethodParser

public MethodParser(ServiceSecurityDescriptor 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