Class AbstractAuthenticator

java.lang.Object
org.apache.shiro.authc.AbstractAuthenticator
All Implemented Interfaces:
Authenticator, LogoutAware
Direct Known Subclasses:
ModularRealmAuthenticator

public abstract class AbstractAuthenticator extends Object implements Authenticator, LogoutAware
Superclass for almost all Authenticator implementations that performs the common work around authentication attempts.

This class delegates the actual authentication attempt to subclasses but supports notification for successful and failed logins as well as logouts. Notification is sent to one or more registered AuthenticationListeners to allow for custom processing logic when these conditions occur.

In most cases, the only thing a subclass needs to do (via its doAuthenticate(org.apache.shiro.authc.AuthenticationToken) implementation) is perform the actual principal/credential verification process for the submitted AuthenticationToken.

Since:
0.1