Implements a simple host authorization mechanism.
The peer's host name (in FQDN form) is compared with the
host name specified in the peer's certificate chain.
an instance of this class initialized with
host as a service.
authorize
public void authorize(java.security.cert.X509Certificate[] chain,
java.net.Socket socket)
throws AuthorizationException
Performs host authentication. The hostname of the peer is
compared with the hostname specified in the peer's (topmost)
certificate in the certificate chain. The hostnames must
match exactly (in case-insensitive way)