CredentialsValidator

A class that implement this interface can be used to validate credentials provided by client.

This feature is experimental and subject to change



Methods
boolean validateCredentials(AuthenticationInfo authenticationInfo)
Validate user credential.
boolean validateCredentials(AuthenticationInfo authenticationInfo) throws Exception
Validate user credential.
Parameters:
authenticationInfo - = authentication info
Returns:
true if credentials are valid, otherwise false
Throws:
Exception - any exception occurred (invalid credentials or internal issue) prevent user login