Uses of Class
org.neo4j.driver.exceptions.SecurityException
-
Uses of SecurityException in org.neo4j.driver
Modifier and TypeMethodDescriptionboolean
AuthTokenManager.handleSecurityException
(AuthToken authToken, SecurityException exception) HandlesSecurityException
that is created based on the server's security error response by determining if the given error may be resolved upon nextAuthTokenManager.getToken()
invokation. -
Uses of SecurityException in org.neo4j.driver.exceptions
Modifier and TypeClassDescriptionclass
Failed to authenticate the driver to the server due to bad credentials provided.class
The authorization info maintained on the server has expired.class
Indicates that the containedSecurityException
is aRetryableException
, which is determined by theAuthTokenManager.handleSecurityException(AuthToken, SecurityException)
method.class
The provided token has expired.Modifier and TypeMethodDescriptionSecurityRetryableException.securityException()
Returns the original security exception.ModifierConstructorDescriptionSecurityRetryableException
(SecurityException exception) Creates a new instance. -
Uses of SecurityException in org.neo4j.driver.internal.security
Modifier and TypeMethodDescriptionboolean
ExpirationBasedAuthTokenManager.handleSecurityException
(AuthToken authToken, SecurityException exception) boolean
StaticAuthTokenManager.handleSecurityException
(AuthToken authToken, SecurityException exception) boolean
ValidatingAuthTokenManager.handleSecurityException
(AuthToken authToken, SecurityException exception) ModifierConstructorDescriptionExpirationBasedAuthTokenManager
(Supplier<CompletionStage<AuthTokenAndExpiration>> freshTokenSupplier, Set<Class<? extends SecurityException>> retryableExceptionClasses, Clock clock)