public class AuthenticationService extends Object
Constructor and Description |
---|
AuthenticationService() |
Modifier and Type | Method and Description |
---|---|
String |
loginUser(String login,
String password)
Logins a user using the specified password as his credentials, and returns
the new sessionId for the logged in user.
|
void |
logoutUser(String sessionId)
Close the user's session given the sessionId.
|
public String loginUser(String login, String password) throws WebServicePortalFault
PortalException
.login
- the user's login.password
- the user's password.WebServicePortalFault
- if the login operation fails.public void logoutUser(String sessionId) throws WebServicePortalFault
sessionId
- WebServicePortalFault
- if the logout operation fails.IAuthenticationManager#logoutUser(SessionConfig, ITransaction)}
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.