public class JahiaBasicCredentialsProvider
extends org.apache.jackrabbit.server.BasicCredentialsProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
IMPERSONATOR |
| Constructor and Description |
|---|
JahiaBasicCredentialsProvider(String defaultHeaderValue) |
| Modifier and Type | Method and Description |
|---|---|
protected javax.jcr.Credentials |
createCredentials(String user,
char[] password)
Creates the
SimpleCredentials object for the provided username and password considering the impersonation case. |
javax.jcr.Credentials |
getCredentials(javax.servlet.http.HttpServletRequest request) |
public static final String IMPERSONATOR
public JahiaBasicCredentialsProvider(String defaultHeaderValue)
public javax.jcr.Credentials getCredentials(javax.servlet.http.HttpServletRequest request)
throws javax.jcr.LoginException,
javax.servlet.ServletException
getCredentials in interface org.apache.jackrabbit.server.CredentialsProvidergetCredentials in class org.apache.jackrabbit.server.BasicCredentialsProviderjavax.jcr.LoginExceptionjavax.servlet.ServletExceptionprotected javax.jcr.Credentials createCredentials(String user, char[] password)
SimpleCredentials object for the provided username and password considering the impersonation case.user - the received usernamepassword - the user passwordSimpleCredentials object for the provided username and password considering the impersonation caseCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.