public class BasicAuthentication extends Object implements Authentication
CREDENTIALS, NEW_CREDENTIALS, NONE, PRINCIPAL, SCHEME_KEY
Constructor and Description |
---|
BasicAuthentication(org.neo4j.server.security.auth.BasicAuthManager authManager,
org.neo4j.logging.LogProvider logProvider) |
Modifier and Type | Method and Description |
---|---|
AuthenticationResult |
authenticate(Map<String,Object> authToken)
Authenticate the provided token.
|
public BasicAuthentication(org.neo4j.server.security.auth.BasicAuthManager authManager, org.neo4j.logging.LogProvider logProvider)
public AuthenticationResult authenticate(Map<String,Object> authToken) throws AuthenticationException
Authentication
authenticate
in interface Authentication
authToken
- The token to be authenticated.AuthenticationException
- If authentication failed.Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.