public class LdapsPlugin extends LdapPlugin
This class is designed to be used by the capabilities daemon to test for the existance of an HTTPS server on remote interfaces. The class implements the Plugin interface that allows it to be used along with other plugins by the daemon. This plugin generates a HTTP GET request and checks the return code returned by the remote host to determine if it supports the protocol. The remote host's response will be deemed valid if the return code falls in the 100 to 599 range (inclusive). This is based on the following information from RFC 1945 (HTTP 1.0) HTTP 1.0 GET return codes: 1xx: Informational - Not used, future use 2xx: Success 3xx: Redirection 4xx: Client error 5xx: Server error
This plugin generates a HTTP GET request and checks the return code returned by the remote host to determine if it supports the protocol. The remote host's response will be deemed valid if the return code falls in the 100 to 599 range (inclusive). This is based on the following information from RFC 1945 (HTTP 1.0) HTTP 1.0 GET return codes: 1xx: Informational - Not used, future use 2xx: Success 3xx: Redirection 4xx: Client error 5xx: Server errorConstructor and Description |
---|
LdapsPlugin() |
Modifier and Type | Method and Description |
---|---|
protected int[] |
determinePorts(Map<String,Object> parameters) |
String |
getProtocolName()
Returns the name of the protocol that this plugin checks on the target
system for support.
|
protected SocketWrapper |
getSocketWrapper() |
isProtocolSupported, isProtocolSupported
public String getProtocolName()
getProtocolName
in interface Plugin
getProtocolName
in class LdapPlugin
protected int[] determinePorts(Map<String,Object> parameters)
determinePorts
in class LdapPlugin
protected SocketWrapper getSocketWrapper()
getSocketWrapper
in class LdapPlugin
Copyright © 2017. All rights reserved.