| Package | Description |
|---|---|
| org.neo4j.server.security.auth |
| Modifier and Type | Method and Description |
|---|---|
User |
User.Builder.build() |
User |
FileUserRepository.findByName(String name) |
User |
UserRepository.findByName(String name) |
User |
BasicAuthManager.getUser(String username) |
User |
AuthManager.getUser(String username)
Retrieves the user with the provided user name.
|
User |
BasicAuthManager.newUser(String username,
String initialPassword,
boolean requirePasswordChange) |
User |
AuthManager.newUser(String username,
String initialPassword,
boolean requirePasswordChange)
Create a new user with the provided credentials.
|
User |
BasicAuthManager.setPassword(String username,
String password) |
User |
AuthManager.setPassword(String username,
String password)
Set the password of the provided user.
|
| Modifier and Type | Method and Description |
|---|---|
List<User> |
UserSerialization.deserializeUsers(byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationResult |
RateLimitedAuthenticationStrategy.authenticate(User user,
String password) |
AuthenticationResult |
AuthenticationStrategy.authenticate(User user,
String password)
Verify a user by password
|
void |
FileUserRepository.create(User user) |
void |
UserRepository.create(User user)
Create a user, given that the users token is unique.
|
boolean |
FileUserRepository.delete(User user) |
boolean |
UserRepository.delete(User user)
Deletes a user.
|
void |
FileUserRepository.update(User existingUser,
User updatedUser) |
void |
UserRepository.update(User existingUser,
User updatedUser)
Update a user, given that the users token is unique.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
UserSerialization.serialize(Collection<User> users) |
| Constructor and Description |
|---|
BasicAuthSubject(BasicAuthManager authManager,
User user,
AuthenticationResult authenticationResult) |
Builder(User base) |
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.