Package step.core.access
Class UserAccessorImpl
- java.lang.Object
-
- step.core.accessors.AbstractAccessor<User>
-
- step.core.access.UserAccessorImpl
-
- All Implemented Interfaces:
UserAccessor
,step.core.accessors.Accessor<User>
- Direct Known Subclasses:
InMemoryUserAccessor
public class UserAccessorImpl extends step.core.accessors.AbstractAccessor<User> implements UserAccessor
-
-
Constructor Summary
Constructors Constructor Description UserAccessorImpl(step.core.collections.Collection<User> collectionDriver)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
encryptPwd(String pwd)
List<User>
getAllUsers()
User
getByUsername(String username)
void
remove(String username)
-
Methods inherited from class step.core.accessors.AbstractAccessor
createOrUpdateCompoundIndex, createOrUpdateIndex, findByAttributes, findByAttributes, findByCriteria, findManyByAttributes, findManyByAttributes, findManyByCriteria, get, get, getAll, getCollectionDriver, getRange, remove, save, save, stream
-
-
-
-
Constructor Detail
-
UserAccessorImpl
public UserAccessorImpl(step.core.collections.Collection<User> collectionDriver)
-
-
Method Detail
-
remove
public void remove(String username)
- Specified by:
remove
in interfaceUserAccessor
-
getAllUsers
public List<User> getAllUsers()
- Specified by:
getAllUsers
in interfaceUserAccessor
-
getByUsername
public User getByUsername(String username)
- Specified by:
getByUsername
in interfaceUserAccessor
-
-