public class Authentication extends Object
SecurityCentral.| Constructor and Description |
|---|
Authentication(org.neo4j.helpers.Clock clock,
UserRepository users,
int maxFailedAttempts) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(String name,
String password)
Verify that a user name and password combo is valid.
|
Credentials |
createPasswordCredential(String password) |
void |
requirePasswordChange(String name)
Mark the user with the specified name as requiring a password change.
|
User |
setPassword(String name,
String password) |
public Authentication(org.neo4j.helpers.Clock clock,
UserRepository users,
int maxFailedAttempts)
public boolean authenticate(String name, String password) throws TooManyAuthenticationAttemptsException
public User setPassword(String name, String password) throws IOException
IOExceptionpublic void requirePasswordChange(String name) throws IOException
IOExceptionpublic Credentials createPasswordCredential(String password)
Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.