public class DuoFactorsAuthenticator extends FormAuthenticator
| Modifier and Type | Field and Description |
|---|---|
protected static Integer |
CACHE_CONCURRENCY_LEVEL |
protected static Integer |
CACHE_MAXIMUM_SIZE |
protected static Integer |
CACHE_TIMEOUT |
loginPage, passwordKey, usernameKey| Constructor and Description |
|---|
DuoFactorsAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
Principal |
createIdentity(String username) |
protected String |
getRequestedUrl(javax.servlet.http.HttpServletRequest httpRequest) |
List<String> |
getUnAuthenticatedURLPrefix() |
Boolean |
handleLoginPrompt(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
String baseURL) |
org.nuxeo.ecm.platform.api.login.UserIdentificationInfo |
handleRetrieveIdentity(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse) |
void |
initPlugin(Map<String,String> parameters) |
Boolean |
needLoginPrompt(javax.servlet.http.HttpServletRequest httpRequest) |
protected org.nuxeo.ecm.core.api.NuxeoPrincipal |
validateUserIdentity() |
getLoginPageprotected static final Integer CACHE_CONCURRENCY_LEVEL
protected static final Integer CACHE_MAXIMUM_SIZE
protected static final Integer CACHE_TIMEOUT
public Boolean handleLoginPrompt(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, String baseURL)
handleLoginPrompt in interface NuxeoAuthenticationPluginhandleLoginPrompt in class FormAuthenticatorpublic org.nuxeo.ecm.platform.api.login.UserIdentificationInfo handleRetrieveIdentity(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
handleRetrieveIdentity in interface NuxeoAuthenticationPluginhandleRetrieveIdentity in class FormAuthenticatorpublic Boolean needLoginPrompt(javax.servlet.http.HttpServletRequest httpRequest)
needLoginPrompt in interface NuxeoAuthenticationPluginneedLoginPrompt in class FormAuthenticatorpublic void initPlugin(Map<String,String> parameters)
initPlugin in interface NuxeoAuthenticationPlugininitPlugin in class FormAuthenticatorpublic List<String> getUnAuthenticatedURLPrefix()
getUnAuthenticatedURLPrefix in interface NuxeoAuthenticationPlugingetUnAuthenticatedURLPrefix in class FormAuthenticatorpublic Principal createIdentity(String username) throws LoginException
LoginExceptionprotected org.nuxeo.ecm.core.api.NuxeoPrincipal validateUserIdentity()
throws LoginException
LoginExceptionprotected String getRequestedUrl(javax.servlet.http.HttpServletRequest httpRequest)
Copyright © 2020 Nuxeo SA. All rights reserved.