org.exoplatform.services.authentication.rest
Class RESTAuthenticator

java.lang.Object
  extended by org.exoplatform.services.authentication.rest.RESTAuthenticator
All Implemented Interfaces:
ResourceContainer

public class RESTAuthenticator
extends java.lang.Object
implements ResourceContainer

Version:
$Id: $
Author:
Vitaly Parfonov

Constructor Summary
RESTAuthenticator()
           
 
Method Summary
 Response isUserLogedIn(java.lang.String userId)
          Check if the username and the password of an user is valid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RESTAuthenticator

public RESTAuthenticator()
Method Detail

isUserLogedIn

public Response isUserLogedIn(java.lang.String userId)
Check if the username and the password of an user is valid.

Parameters:
userId - the user ID
Returns:
return Response with status 200 (OK) if the login is successful, otherwise return Response with status 403 (Forbidden).


Copyright © 2010 eXo Platform SAS. All Rights Reserved.