public class DefaultCockpitUserDetailsService extends CoreUserDetailsService
| Constructor and Description |
|---|
DefaultCockpitUserDetailsService() |
| Modifier and Type | Method and Description |
|---|---|
SessionProxy |
getSessionProxy() |
boolean |
isActivateCatalogVersions() |
CoreUserDetails |
loadUserByUsername(java.lang.String username)
Locates the user based on the username and
|
void |
setActivateCatalogVersions(boolean activateCatalogVersions) |
void |
setCatalogVersionService(CatalogVersionService catalogVersionService) |
void |
setSessionProxy(SessionProxy sessionProxy) |
void |
setSessionService(SessionService sessionService) |
void |
setUserService(UserService userService) |
isNotAnonymousOrAnonymousLoginIsAllowed, setRolePrefixpublic SessionProxy getSessionProxy()
public void setSessionProxy(SessionProxy sessionProxy)
public CoreUserDetails loadUserByUsername(java.lang.String username)
after that
loadUserByUsername in class CoreUserDetailsServiceusername - the username presented to the AuthenticationProvidernull)UsernameNotFoundException - if the user could not be found or the user has no GrantedAuthoritypublic boolean isActivateCatalogVersions()
public void setActivateCatalogVersions(boolean activateCatalogVersions)
activateCatalogVersions - the activateCatalogVersions to setpublic void setUserService(UserService userService)
public void setSessionService(SessionService sessionService)
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
Copyright © 2018 SAP SE. All Rights Reserved.