public static interface BasicCallHeaderAuthenticator.CredentialValidator
Modifier and Type | Method and Description |
---|---|
CallHeaderAuthenticator.AuthResult |
validate(String username,
String password)
Validate the supplied credentials (username/password) and return the peer identity.
|
CallHeaderAuthenticator.AuthResult validate(String username, String password) throws Exception
username
- The username to validate.password
- The password to validate.Exception
- If the supplied credentials are not valid.Copyright © 2023 The Apache Software Foundation. All rights reserved.