| ru.emdev.EmForge.security.UserFactory
All known Subclasses: ru.emdev.EmForge.security.UserFactoryImpl,
UserFactory | public interface UserFactory (Code) | | UserFactory is interface responsible for working with users.
Major his things is return user information by user name and gets the list of users.
|
getCurrentPassword | public String getCurrentPassword()(Code) | | Gets password, used for login for current user
|
getUser | public EmForgeUserDetails getUser(String i_userName)(Code) | | Gets the user by specified user name
Parameters: i_userName - - user's login name User object |
getUsers | public Collection<EmForgeUserDetails> getUsers(String i_role)(Code) | | Retrieves a list of users, available in the system, by specified role name
Parameters: i_role - is a role name to get users list of users with specified role throws: Exception - |
hasRole | public boolean hasRole(String i_role)(Code) | | Returns try if current user has role with specified name
Parameters: i_role - |
|
|