public class Krb5Authenticator extends Object implements NuxeoAuthenticationPlugin
| Constructor and Description |
|---|
Krb5Authenticator() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getUnAuthenticatedURLPrefix()
Returns the list of prefix for unauthenticated URLs, typically the URLs associated to login prompt.
|
Boolean |
handleLoginPrompt(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String baseURL)
Handles the Login Prompt.
|
UserIdentificationInfo |
handleRetrieveIdentity(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Retrieves user identification information from the request.
|
void |
initPlugin(Map<String,String> parameters)
Initializes the Plugin from parameters set in the XML descriptor.
|
Boolean |
needLoginPrompt(javax.servlet.http.HttpServletRequest req)
Defines if the authentication plugin needs to do a login prompt.
|
public Krb5Authenticator()
public List<String> getUnAuthenticatedURLPrefix()
NuxeoAuthenticationPlugingetUnAuthenticatedURLPrefix in interface NuxeoAuthenticationPluginpublic Boolean handleLoginPrompt(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, String baseURL)
NuxeoAuthenticationPluginhandleLoginPrompt in interface NuxeoAuthenticationPluginreq - the requestres - the responsepublic UserIdentificationInfo handleRetrieveIdentity(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
NuxeoAuthenticationPluginhandleRetrieveIdentity in interface NuxeoAuthenticationPluginreq - the requestres - the responsepublic void initPlugin(Map<String,String> parameters)
NuxeoAuthenticationPlugininitPlugin in interface NuxeoAuthenticationPluginpublic Boolean needLoginPrompt(javax.servlet.http.HttpServletRequest req)
NuxeoAuthenticationPluginneedLoginPrompt in interface NuxeoAuthenticationPluginCopyright © 2019 Nuxeo. All rights reserved.