org.openmobileis.common.user.impl
Class MonoUserUserManagerFactory

java.lang.Object
  extended byorg.openmobileis.common.user.impl.MonoUserUserManagerFactory
All Implemented Interfaces:
UserManagerFactory

public final class MonoUserUserManagerFactory
extends java.lang.Object
implements UserManagerFactory

Title: OpenMobileIS project source
Description:

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu

Constructor Summary
MonoUserUserManagerFactory()
           
 
Method Summary
 java.lang.String authenticateUser(java.lang.String login, java.lang.String pass)
          Authenticate the login/pass.
 void deleteUser(java.lang.String userID)
           
 User getUser(java.lang.String userID)
           
 void storeUser(User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonoUserUserManagerFactory

public MonoUserUserManagerFactory()
Method Detail

authenticateUser

public java.lang.String authenticateUser(java.lang.String login,
                                         java.lang.String pass)
                                  throws ServiceException,
                                         UserNotFoundException
Description copied from interface: UserManagerFactory
Authenticate the login/pass. return the authenticated userId if ok.

Specified by:
authenticateUser in interface UserManagerFactory
Parameters:
login -
pass -
Returns:
Throws:
ServiceException
UserNotFoundException

storeUser

public void storeUser(User user)
               throws ServiceException,
                      UserAlreadyExistException
Specified by:
storeUser in interface UserManagerFactory
Throws:
ServiceException
UserAlreadyExistException

getUser

public User getUser(java.lang.String userID)
             throws ServiceException,
                    UserNotFoundException
Specified by:
getUser in interface UserManagerFactory
Throws:
ServiceException
UserNotFoundException

deleteUser

public void deleteUser(java.lang.String userID)
                throws ServiceException,
                       UserNotFoundException
Specified by:
deleteUser in interface UserManagerFactory
Throws:
ServiceException
UserNotFoundException


Copyright 2005 e-Care. All Rights Reserved.