public interface AuthenticationService
An AuthenticationService implementation shall provide the logic to authenticate a Principal with the supplied username and password
| Modifier and Type | Method and Description |
|---|---|
Principal |
authenticate(String username,
char[] password)
Authenticate using username and password.
|
Principal |
authenticate(String username,
String password)
Authenticate using username and password.
|
Principal authenticate(String username, String password)
Authenticate using username and password. Returns a Principal if the username and password can be authenticated. or null if no principal found matching the username and password combination.
username - the name of the principalpassword - the passwordPrincipal authenticate(String username, char[] password)
Authenticate using username and password. Returns a Principal if the username and password can be authenticated. or null if no principal found matching the username and password combination.
username - the name of the principalpassword - the passwordCopyright © 2017–2020 OSGL (Open Source General Library). All rights reserved.