| Modifier and Type | Method and Description |
|---|---|
void |
checkSecondaryPassword(java.lang.String password)
Validate the secondary password for the logged user
|
LoginData |
getLoginData(@NotNull java.lang.String channelName)
Returns the data for user login according to the given channel name
and based in the current session configuration
|
PasswordInputDTO |
getSecondaryPasswordInput()
Returns the input for the secondary password for the logged user.
|
UserLoginResult |
login(TimeIntervalDTO sessionTimeout)
Creates a session for the currently authenticated user and optionally sets a timeout for it.
|
UserLoginDetailedResult |
loginUser(@NotNull UserLoginDTO params)
Creates a session for a user, indicating a remote address (from the client connection) a channel and optionally
a timeout.
|
void |
logout()
Invalidates the current user session, if the current request was authenticated with a session
|
boolean |
logoutUser(@NotNull java.lang.String token)
Removes the session with the given token, returning whether the sessions was actually removed
|
java.lang.String |
replaceSession()
Replaces the current session token with another one.
|
void checkSecondaryPassword(java.lang.String password)
throws FrameworkException
FrameworkExceptionLoginData getLoginData(@NotNull @NotNull java.lang.String channelName)
PasswordInputDTO getSecondaryPasswordInput()
UserLoginResult login(TimeIntervalDTO sessionTimeout) throws FrameworkException, LoginException, RemoteAddressBlockedException
UserLoginDetailedResult loginUser(@NotNull @NotNull UserLoginDTO params) throws FrameworkException, LoginException, RemoteAddressBlockedException
void logout()
throws FrameworkException
FrameworkExceptionboolean logoutUser(@NotNull
@NotNull java.lang.String token)
throws FrameworkException
FrameworkExceptionjava.lang.String replaceSession()
throws FrameworkException
FrameworkException