Class AuthenticationService
- java.lang.Object
-
- lumis.portal.webservice.authentication.AuthenticationService
-
public class AuthenticationService extends java.lang.Object
Web Service class for Authentication operations.- Since:
- 4.0.9
- Version:
- $Revision: 16824 $ $Date: 2015-01-23 18:49:12 -0200 (Fri, 23 Jan 2015) $
-
-
Constructor Summary
Constructors Constructor Description AuthenticationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
loginUser(java.lang.String login, java.lang.String password)
Logins a user using the specified password as his credentials, and returns the new sessionId for the logged in user.void
logoutUser(java.lang.String sessionId)
Close the user's session given the sessionId.
-
-
-
Method Detail
-
loginUser
public java.lang.String loginUser(java.lang.String login, java.lang.String password) throws WebServicePortalFault
Logins a user using the specified password as his credentials, and returns the new sessionId for the logged in user. If the login fail, this method throws aPortalException
.- Parameters:
login
- the user's login.password
- the user's password.- Returns:
- the created sessionId
- Throws:
WebServicePortalFault
- if the login operation fails.
-
logoutUser
public void logoutUser(java.lang.String sessionId) throws WebServicePortalFault
Close the user's session given the sessionId.- Parameters:
sessionId
-- Throws:
WebServicePortalFault
- if the logout operation fails.
-
-