| Modifier and Type | Class and Description |
|---|---|
class |
Security<T extends SecurityUser>
The Security class manages logging in and out of the application.
|
| Modifier and Type | Method and Description |
|---|---|
default <T extends SecurityUser> |
SecurityDao.findUserByEmail(Class<T> entityClass,
String email)
Finds a user by email address.
|
static <T extends SecurityUser> |
SecurityFeature.getUserProvider() |
| Modifier and Type | Method and Description |
|---|---|
SecurityUser |
UserSession.getUser() |
| Modifier and Type | Method and Description |
|---|---|
default List<ApiKey> |
SecurityDao.findApiKeysByUser(SecurityUser user)
Returns a list of API keys for the specified user.
|
String |
Security.forgotPassword(SecurityUser user)
Handles a request for "Forgot Password".
|
javax.ws.rs.core.NewCookie |
Security.loginAs(SecurityUser candidate)
Logs in as another user.
|
void |
ApiKey.setUser(SecurityUser user) |
void |
UserSession.setUser(SecurityUser user) |
void |
PasswordChangeRequest.setUser(SecurityUser user) |
| Constructor and Description |
|---|
SecurityFeature(Class<? extends SecurityUser> userClass,
Class<? extends SecurityDao> daoClass) |
Copyright © 2018 Ajibot. All rights reserved.