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 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 a PortalException.

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(String sessionId)
                throws WebServicePortalFault
Close the user's session given the sessionId.

Parameters:
sessionId -
Throws:
WebServicePortalFault - if the logout operation fails.
See Also:
IAuthenticationManager#logoutUser(SessionConfig, ITransaction)}


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.