public class CoreUserDetailsService extends 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(String username)
Locates the user based on the username
|
void |
setRolePrefix(String rolePrefix) |
public CoreUserDetails loadUserByUsername(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(String rolePrefix)
Copyright © 2017 SAP SE. All Rights Reserved.