Method Summary |
|
public Principal | authenticate(String username, String credentials) Return the Principal associated with the specified username and
credentials, if there is one; otherwise return null . |
public Principal | authenticate(X509Certificate[] cert) Return the Principal associated with the specified chain of X509 client
certificates. |
public String | getInfo() Return descriptive information about this Realm implementation and the
corresponding version number, in the format
<description>/<version> . |
protected String | getName() Return a short name for this Realm implementation. |
protected String | getPassword(String username) Return the password associated with the given principal's user name.
Parameters: username - the given principal's user name. |
protected Principal | getPrincipal(String username) Return the Principal associated with the given user name.
Parameters: username - the given principal's user name. |
public String | getResourceName() Return the resource name we will be using. |
protected void | log(String message) |
public void | setResourceName(String resourceName) Set the resource name we will be using. |
public synchronized void | start() Prepare for active use of the public methods of this Component. |
public synchronized void | stop() Gracefully shut down active use of the public methods of this Component. |