public interface SecurityDetailsService
| Modifier and Type | Field and Description |
|---|---|
static String |
ROLE_ANONYMOUS
Role given if method:path is whitelisted.
|
static String |
ROLE_APPLICATION
Role given if application is authenticated,
usually via Basic Authentication.
|
static String |
ROLE_CONTAINER_ADMIN
Role given if user is authenticated via
Container-based security
|
static String |
ROLE_USER
Role given if user is authenticated,
usually via Basic Authentication or OAuth2.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getRolesFromUserDetails(Object details)
Extracts the granted roles for the specified user details.
|
Object |
loadUserDetailsByUsername(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String uri,
String authValue,
String username)
Loads the user details for the specified username.
|
static final String ROLE_ANONYMOUS
static final String ROLE_APPLICATION
static final String ROLE_USER
static final String ROLE_CONTAINER_ADMIN
Object loadUserDetailsByUsername(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String uri, String authValue, String username)
request - response - uri - authValue - username - Collection<String> getRolesFromUserDetails(Object details)
details - the user details containing the rolesCopyright © 2013. All Rights Reserved.