public interface AuthProviderOperations
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AuthProviderOperations.Log
An interface to the security log that is used by the Neo4j security module.
|
| Modifier and Type | Method and Description |
|---|---|
Clock |
clock()
Returns the clock that is used by the Neo4j security module within which this auth provider plugin is running.
|
AuthProviderOperations.Log |
log()
Returns the security log that is used by the Neo4j security module within which this auth provider plugin is
running.
|
Optional<Path> |
neo4jConfigFile()
Returns the path to the Neo4j configuration file if one exists.
|
Path |
neo4jHome()
Returns the path to the Neo4j home directory.
|
String |
neo4jVersion()
Returns the Neo4j version.
|
void |
setAuthenticationCachingEnabled(boolean authenticationCachingEnabled)
If set to true the authentication information returned by the plugin will be cached.
|
void |
setAuthorizationCachingEnabled(boolean authorizationCachingEnabled)
If set to true the authorization information (i.e.
|
Path neo4jHome()
Optional<Path> neo4jConfigFile()
String neo4jVersion()
Clock clock()
AuthProviderOperations.Log log()
void setAuthenticationCachingEnabled(boolean authenticationCachingEnabled)
Since a principal can be authenticated against cached authentication information this requires the capability of matching the credentials of an authentication token against the credentials of the authentication information returned by the plugin.
The default value is false.
authenticationCachingEnabled - if caching of authentication information should be enabled or notvoid setAuthorizationCachingEnabled(boolean authorizationCachingEnabled)
authorizationCachingEnabled - if caching of authorization information should be enabled or notCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.