All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gate.authenticator.Authenticator Maven / Gradle / Ivy

There is a newer version: 12.3.1
Show newest version
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