com.sshtools.common.configuration
Class Authorization

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by com.sshtools.common.configuration.Authorization
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

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

Version:
$Revision: 1.12 $
Author:
$author$

Constructor Summary
Authorization()
          Creates a new Authorization object.
Authorization(java.io.InputStream in)
          Creates a new Authorization object.
 
Method Summary
 void addKey(java.lang.String keyfile)
           
 java.util.List getAuthorizedKeys()
           
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

Authorization

public Authorization(java.io.InputStream in)
              throws org.xml.sax.SAXException,
                     javax.xml.parsers.ParserConfigurationException,
                     java.io.IOException
Creates a new Authorization object.

Parameters:
in -
Throws:
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException

Authorization

public Authorization()
Creates a new Authorization object.

Method Detail

getAuthorizedKeys

public java.util.List getAuthorizedKeys()
Returns:

addKey

public void addKey(java.lang.String keyfile)
Parameters:
keyfile -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:


Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.