Class ServerConfiguration
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.sshtools.daemon.configuration.ServerConfiguration
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
- Version:
- $Revision: 1.12 $
- Author:
- $author$
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ServerConfiguration object. -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) voidendElement(String uri, String localName, String qname) booleanintintintintgetPort()voidreload(InputStream in) voidstartElement(String uri, String localName, String qname, Attributes attrs) toString()Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
ServerConfiguration
public ServerConfiguration(InputStream in) throws SAXException, ParserConfigurationException, IOException Creates a new ServerConfiguration object.- Parameters:
in-- Throws:
SAXExceptionParserConfigurationExceptionIOException
-
-
Method Details
-
reload
- Parameters:
in-- Throws:
SAXExceptionParserConfigurationExceptionIOException
-
startElement
public void startElement(String uri, String localName, String qname, Attributes attrs) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Parameters:
uri-localName-qname-attrs-- Throws:
SAXException
-
characters
- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler- Parameters:
ch-start-length-- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Parameters:
uri-localName-qname-- Throws:
SAXException
-
getRequiredAuthentications
- Returns:
-
getAllowedAuthentications
- Returns:
-
getAllowTcpForwarding
public boolean getAllowTcpForwarding()- Returns:
-
getAuthenticationBanner
- Returns:
-
getCommandPort
public int getCommandPort()- Returns:
-
getUserConfigDirectory
- Returns:
-
getAuthorizationFile
- Returns:
-
getListenAddress
- Returns:
-
getMaxConnections
public int getMaxConnections()- Returns:
-
getMaxAuthentications
public int getMaxAuthentications()- Returns:
-
getPort
public int getPort()- Returns:
-
getServerHostKeys
-
getSubsystems
- Returns:
-
getTerminalProvider
- Returns:
-
toString
-