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.
|
void |
requirePasswordChange(String name)
Mark the user with the specified name as requiring a password change.
|
void |
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 void setPassword(String name, String password) throws IOException
IOExceptionpublic void requirePasswordChange(String name) throws IOException
IOExceptionCopyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.