public interface Authentication
| Modifier and Type | Interface and Description |
|---|---|
static class |
Authentication.Joined
Joined authentication composes multiple authentication instances into single one.
|
static class |
Authentication.Single
Authentication implementation aware of single user with specified password.
|
static class |
Authentication.User
User.
|
static class |
Authentication.Wrap
Abstract decorator for Authentication.
|
| Modifier and Type | Field and Description |
|---|---|
static Authentication |
ANONYMOUS
Resolve anyone as an anonymous user.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Authentication.User> |
user(String username,
String password)
Find user by credentials.
|
static final Authentication ANONYMOUS
Optional<Authentication.User> user(String username, String password)
username - Usernamepassword - PasswordCopyright © 2012–2020 jcabi.com. All rights reserved.