org.outerj.daisy.repository.clientimpl.user
Class RemoteUserManagementStrategy
java.lang.Object
org.outerj.daisy.repository.clientimpl.infrastructure.AbstractRemoteStrategy
org.outerj.daisy.repository.clientimpl.user.RemoteUserManagementStrategy
- All Implemented Interfaces:
- org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy
public class RemoteUserManagementStrategy
- extends AbstractRemoteStrategy
- implements org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy
User management strategy that connects to the repository server, communicating through
HTTP/XML.
|
Method Summary |
void |
deleteRole(long roleId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
|
void |
deleteUser(long userId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
|
org.outerj.daisy.repository.user.AuthenticationSchemeInfos |
getAuthenticationSchemes(org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
|
org.outerj.daisy.repository.commonimpl.user.RoleImpl |
getRole(long roleId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
|
org.outerj.daisy.repository.commonimpl.user.RoleImpl |
getRole(java.lang.String name,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
|
org.outerj.daisy.repository.commonimpl.user.UserImpl |
getUser(long userId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
|
org.outerj.daisy.repository.commonimpl.user.UserImpl |
getUser(java.lang.String login,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
|
long[] |
getUserIds(org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
|
org.outerj.daisy.repository.commonimpl.user.UsersImpl |
getUsersByEmail(java.lang.String email,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
|
org.outerj.daisy.repository.user.Roles |
loadRoles(org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
|
org.outerj.daisy.repository.user.Users |
loadUsers(org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
|
void |
store(org.outerj.daisy.repository.commonimpl.user.RoleImpl role)
|
void |
store(org.outerj.daisy.repository.commonimpl.user.UserImpl user)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteUserManagementStrategy
public RemoteUserManagementStrategy(RemoteRepositoryManager.Context context)
loadUsers
public org.outerj.daisy.repository.user.Users loadUsers(org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
loadUsers in interface org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getUserIds
public long[] getUserIds(org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getUserIds in interface org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
loadRoles
public org.outerj.daisy.repository.user.Roles loadRoles(org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
loadRoles in interface org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
deleteUser
public void deleteUser(long userId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
deleteUser in interface org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
deleteRole
public void deleteRole(long roleId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
deleteRole in interface org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getUser
public org.outerj.daisy.repository.commonimpl.user.UserImpl getUser(java.lang.String login,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getUser in interface org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getRole
public org.outerj.daisy.repository.commonimpl.user.RoleImpl getRole(java.lang.String name,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getRole in interface org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
store
public void store(org.outerj.daisy.repository.commonimpl.user.UserImpl user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
store in interface org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
store
public void store(org.outerj.daisy.repository.commonimpl.user.RoleImpl role)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
store in interface org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getUser
public org.outerj.daisy.repository.commonimpl.user.UserImpl getUser(long userId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getUser in interface org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getRole
public org.outerj.daisy.repository.commonimpl.user.RoleImpl getRole(long roleId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getRole in interface org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getUsersByEmail
public org.outerj.daisy.repository.commonimpl.user.UsersImpl getUsersByEmail(java.lang.String email,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getUsersByEmail in interface org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getAuthenticationSchemes
public org.outerj.daisy.repository.user.AuthenticationSchemeInfos getAuthenticationSchemes(org.outerj.daisy.repository.commonimpl.AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getAuthenticationSchemes in interface org.outerj.daisy.repository.commonimpl.user.UserManagementStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
Copyright © -2006 . All Rights Reserved.