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$ $Date$
-
-
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.
-
-