lumis.portal.webservice.authentication
Class AuthenticationService
java.lang.Object
lumis.portal.webservice.authentication.AuthenticationService
public class AuthenticationService
- extends Object
Web Service class for Authentication operations.
- Since:
- 4.0.9
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticationService
public AuthenticationService()
loginUser
public String loginUser(String login,
String password)
throws PortalException
- 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 a
PortalException
.
- Parameters:
login
- the user's login.password
- the user's password.
- Returns:
- the created sessionId
- Throws:
PortalException
logoutUser
public void logoutUser(String sessionId)
throws PortalException
- Close the user's session given the sessionId.
- Parameters:
sessionId
-
- Throws:
PortalException
- See Also:
IAuthenticationManager#logoutUser(SessionConfig, ITransaction)}
Lumisportal 4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.