The Authenticator is a plugable interface:
{{{

package ...

public interface Authenticator {
    /**
    * Method responsible for adding a WikiUserPrincipal to the session. If that can be done 
    * the method returns true. Else false is returned.
    */
    public boolean Login(String username, String password, HttpServletRequest request);

}
}}}