public abstract class RemoteLoginProcessor extends LoginProcessor
GUEST_LOGIN_SOURCE, LOGGER, MASTER_LOGIN_ID, MASTER_LOGIN_SOURCE, SYSTEM_LOGIN_SOURCE
Modifier | Constructor and Description |
---|---|
protected |
RemoteLoginProcessor(AuthenticationDescription description)
Create a new LoginProcessor
|
Modifier and Type | Method and Description |
---|---|
boolean |
isMasterPassword()
Whether this is a master password check or not
|
abstract void |
requestLoginData(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Request the data for a login of a client - the data sent to the response object can be form data or an HTTP status 401,
depending on the scenario.
|
boolean |
supportsFormLogin()
If the authentication provider supports form authentication.
|
abstract boolean |
transferClientLoginData(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Send the login answer of the client (browser) to a login script or external library.
|
boolean |
transferFormLoginData(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Set the answer of a form authorization.
|
createLoginSettings, destroyCurrent, getAuthenticationDescription, getCurrent, getLoginID, getLoginSource, getOrCreateUserAccount, getUserAccountID, getUserAccountID, getUserAccountType, isCreateUserAccountSupported, isNewUser, isSameAccount, isWebUserInRole, setCurrent, setCurrentForAllThreads, unwrap
protected RemoteLoginProcessor(AuthenticationDescription description)
description
- the AuthenticationDescription for creating this login processorpublic abstract void requestLoginData(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request
- the current HTTP request object to read fromresponse
- the current HTTP response object to write topublic abstract boolean transferClientLoginData(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request
- the current HTTP request object to read fromresponse
- the current HTTP response object to write topublic boolean transferFormLoginData(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request
- the current HTTP request object to read fromresponse
- the current HTTP response object to write tojava.lang.IllegalStateException
- if not overridepublic boolean supportsFormLogin()
public boolean isMasterPassword()
Copyright © 1999-2020 by i-net software GmbH