public abstract class AbstractAuthenticationProvider extends java.lang.Object implements AuthenticationProvider
Modifier and Type | Field and Description |
---|---|
protected Messages |
messages |
protected static java.lang.String |
MSG_PACK |
protected Persistence |
persistence |
HIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE
Constructor and Description |
---|
AbstractAuthenticationProvider(Persistence persistence,
Messages messages) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getExpiredRememberMeTokenMessage(java.lang.String login,
java.util.Locale locale) |
protected java.lang.String |
getInvalidCredentialsMessage(java.lang.String login,
java.util.Locale locale) |
protected java.util.Locale |
getUserLocale(LocalizedCredentials credentials,
User user) |
protected User |
loadUser(java.lang.String login) |
protected User |
loadUser(java.lang.String login,
java.util.Map<java.lang.String,java.lang.Object> params) |
protected void |
setClientSessionParams(AbstractClientCredentials clientCredentials,
UserSession userSession) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticate, supports
protected static final java.lang.String MSG_PACK
protected Persistence persistence
protected Messages messages
public AbstractAuthenticationProvider(Persistence persistence, Messages messages)
@Nullable protected User loadUser(java.lang.String login) throws LoginException
LoginException
@Nullable protected User loadUser(java.lang.String login, java.util.Map<java.lang.String,java.lang.Object> params)
protected java.lang.String getInvalidCredentialsMessage(java.lang.String login, java.util.Locale locale)
protected java.lang.String getExpiredRememberMeTokenMessage(java.lang.String login, java.util.Locale locale)
protected java.util.Locale getUserLocale(LocalizedCredentials credentials, User user)
protected void setClientSessionParams(AbstractClientCredentials clientCredentials, UserSession userSession)