gate.authenticator.Authenticator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gate Show documentation
Show all versions of gate Show documentation
A multipurpose java library
package gate.authenticator;
import gate.entity.User;
import gate.error.AuthenticationException;
import gate.error.AuthenticatorException;
import gate.error.BadRequestException;
import gate.error.DefaultPasswordException;
import gate.error.HierarchyException;
import gate.error.InvalidPasswordException;
import gate.error.InvalidUsernameException;
import gate.http.ScreenServletRequest;
import javax.servlet.http.HttpServletResponse;
public interface Authenticator
{
public String provider(ScreenServletRequest request,
HttpServletResponse response) throws AuthenticatorException;
public User authenticate(ScreenServletRequest request,
HttpServletResponse response)
throws AuthenticationException,
InvalidPasswordException,
InvalidUsernameException,
DefaultPasswordException,
HierarchyException,
BadRequestException;
public String logoutUri(ScreenServletRequest request);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy