public class CoreUserDetailsService
extends java.lang.Object
| Constructor and Description |
|---|
CoreUserDetailsService() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isNotAnonymousOrAnonymousLoginIsAllowed(User user)
Tells whether this is not anonymous account or anonymous login is allowed by setting
login.anonymous.always.disabled configuration parameter to false. |
CoreUserDetails |
loadUserByUsername(java.lang.String username)
Locates the user based on the username
|
void |
setRolePrefix(java.lang.String rolePrefix) |
public CoreUserDetails loadUserByUsername(java.lang.String username)
(see 'activateCatalogVersions' in the corresponding spring configuration)
username - the username presented to the AuthenticationProvidernull)UsernameNotFoundException - if the user could not be found or the user has no GrantedAuthorityprotected boolean isNotAnonymousOrAnonymousLoginIsAllowed(User user)
login.anonymous.always.disabled configuration parameter to false.public void setRolePrefix(java.lang.String rolePrefix)
Copyright © 2018 SAP SE. All Rights Reserved.