Package | Description |
---|---|
org.wamblee.security.authentication |
This package provides support for managing users and their authentication.
|
org.wamblee.security.authentication.jpa |
Modifier and Type | Method and Description |
---|---|
User |
UserSet.createUser(String aUsername,
String aPassword)
Creates a user.
|
User |
AbstractUserSet.createUser(String aUsername,
String aPassword) |
User |
UserSet.find(String aName)
Finds user.
|
User |
InMemoryUserSet.find(String aName) |
User |
UserMgtException.getUser()
Gets the user for which the problem occurred.
|
Modifier and Type | Method and Description |
---|---|
Set<User> |
UserSet.list()
Lists the current users.
|
Set<User> |
InMemoryUserSet.list() |
Set<User> |
UserSet.list(Group aGroup)
Lists the users belonging to a particular group.
|
Set<User> |
InMemoryUserSet.list(Group aGroup) |
Modifier and Type | Method and Description |
---|---|
boolean |
UserSet.add(User aUser)
Adds a user.
|
boolean |
InMemoryUserSet.add(User aUser) |
boolean |
UserSet.contains(User aUser)
Checks if a user exists.
|
boolean |
InMemoryUserSet.contains(User aUser) |
boolean |
UserSet.remove(User aUser)
Removes a user.
|
boolean |
InMemoryUserSet.remove(User aUser) |
protected void |
AbstractUserSet.setPasswordInfo(User aUser)
Sets the password validtor and encoder in the user.
|
void |
UserSet.userModified(User aUser)
Must be called whenever a user object has been modified to notify the
user set.
|
void |
InMemoryUserSet.userModified(User aUser) |
Constructor and Description |
---|
User(User aUser)
Creates a new User object.
|
UserMgtException(UserMgtException.Reason aCause,
User aUser)
Creates a new UserMgtException object.
|
UserMgtException(UserMgtException.Reason aCause,
User aUser,
Group aGroup)
Creates a new UserMgtException object.
|
Modifier and Type | Method and Description |
---|---|
User |
JpaUserSet.find(String aName) |
Modifier and Type | Method and Description |
---|---|
Set<User> |
JpaUserSet.list() |
Set<User> |
JpaUserSet.list(Group aGroup) |
Modifier and Type | Method and Description |
---|---|
boolean |
JpaUserSet.add(User aUser) |
boolean |
JpaUserSet.contains(User aUser) |
boolean |
JpaUserSet.remove(User aUser) |
void |
JpaUserSet.userModified(User aUser) |
Constructor and Description |
---|
JpaUserSet(org.wamblee.cache.Cache<String,User> aCache,
NameValidator aPasswordValidator,
MessageDigester aPasswordEncoder,
javax.persistence.EntityManager aEntityManager)
Constructs a user set backed by the database.
|
Copyright © 2022. All rights reserved.