public interface CredentialsValidator
extends org.h2.security.auth.Configurable
This feature is experimental and subject to change
Modifier and Type | Method and Description |
---|---|
boolean |
validateCredentials(org.h2.security.auth.AuthenticationInfo authenticationInfo)
Validate user credential.
|
boolean validateCredentials(org.h2.security.auth.AuthenticationInfo authenticationInfo) throws java.lang.Exception
authenticationInfo
- = authentication infojava.lang.Exception
- any exception occurred (invalid credentials or internal
issue) prevent user login