lumis.portal.webservice.authentication
Class AuthenticationService

Package class diagram package AuthenticationService
java.lang.Object
  extended by lumis.portal.webservice.authentication.AuthenticationService

public class AuthenticationService
extends Object

Web Service class for Authentication operations.

Since:
4.0.9

Constructor Summary
AuthenticationService()
           
 
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
 

Constructor Detail

AuthenticationService

public AuthenticationService()
Method Detail

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  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.