com.opensymphony.user.util
Class ConfigLoader

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended bycom.opensymphony.user.util.ConfigLoader
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class ConfigLoader
extends org.xml.sax.helpers.DefaultHandler

ConfigLoader parses the opensymphony-user.xml file, creates suitable instances of providers, reads their properties and initializes them.

Version:
$Revision: 1.3 $
Author:
Joe Walnes
See Also:
UserManager, UserProvider

Field Summary
protected  java.lang.String currentClass
           
protected  java.util.Properties currentProperties
           
protected  UserManager userManager
           
 
Constructor Summary
ConfigLoader()
           
 
Method Summary
 void load(java.io.InputStream in, UserManager userManager)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentProperties

protected java.util.Properties currentProperties

currentClass

protected java.lang.String currentClass

userManager

protected UserManager userManager
Constructor Detail

ConfigLoader

public ConfigLoader()
Method Detail

load

public void load(java.io.InputStream in,
                 UserManager userManager)

See www.opensymphony.com for more information.