LoginProvider
and/or HttpRequestFilter
instead.@Deprecated
public interface CubaAuthProvider
extends javax.servlet.Filter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
authenticate(java.lang.String login,
java.lang.String password,
java.util.Locale messagesLocale)
Deprecated.
Use
LoginProvider instead. |
default java.lang.String |
logout()
Deprecated.
Use application event handler for
AppLoggedOutEvent instead. |
default void |
pingUserSession(UserSession userSession)
Deprecated.
Use application event handler for
SessionHeartbeatEvent instead. |
default void |
userSessionLoggedIn(UserSession userSession)
Deprecated.
Use application event handler for
UserConnectedEvent instead. |
static final java.lang.String NAME
@Deprecated void authenticate(java.lang.String login, java.lang.String password, java.util.Locale messagesLocale) throws LoginException
LoginProvider
instead.login
- User loginpassword
- User passwordmessagesLocale
- Locale for error messagesLoginException
- Login exception@Nullable @Deprecated default java.lang.String logout()
AppLoggedOutEvent
instead.default void userSessionLoggedIn(UserSession userSession)
UserConnectedEvent
instead.userSession
- user sessiondefault void pingUserSession(UserSession userSession)
SessionHeartbeatEvent
instead.userSession
- user session