org.openmobileis.test.mock.common
Class MockUserManagerFactory
java.lang.Object
org.openmobileis.test.mock.common.MockUserManagerFactory
- All Implemented Interfaces:
- UserManagerFactory
- public final class MockUserManagerFactory
- extends java.lang.Object
- implements UserManagerFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockUserManagerFactory
public MockUserManagerFactory(java.lang.String group,
java.lang.String profilid,
Credential cred)
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:
UserNotFoundException
ServiceException
deleteUser
public void deleteUser(java.lang.String userID)
throws ServiceException,
UserNotFoundException
- Specified by:
deleteUser
in interface UserManagerFactory
- Throws:
ServiceException
UserNotFoundException
getUser
public User getUser(java.lang.String userID)
throws ServiceException,
UserNotFoundException
- Specified by:
getUser
in interface UserManagerFactory
- Throws:
ServiceException
UserNotFoundException
storeUser
public void storeUser(User user)
throws ServiceException,
UserAlreadyExistException
- Specified by:
storeUser
in interface UserManagerFactory
- Throws:
ServiceException
UserAlreadyExistException
Copyright 2006 OpenMobileIS. All Rights Reserved.