Class PentahoCachingUserDetailsService
java.lang.Object
org.pentaho.platform.plugin.services.security.userrole.PentahoCachingUserDetailsService
- All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService
public class PentahoCachingUserDetailsService
extends Object
implements org.springframework.security.core.userdetails.UserDetailsService
User: nbaker Date: 8/7/13
Copy of the org.springframework.security.config.CachingUserDetailsService for modification due to poor extensibility
of core class.
-
Constructor Summary
ConstructorDescriptionPentahoCachingUserDetailsService
(org.springframework.security.core.userdetails.UserDetailsService delegate, org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver nameResolver) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserCache
org.springframework.security.core.userdetails.UserDetails
loadUserByUsername
(String username) void
setUserCache
(org.springframework.security.core.userdetails.UserCache userCache)
-
Constructor Details
-
PentahoCachingUserDetailsService
public PentahoCachingUserDetailsService(org.springframework.security.core.userdetails.UserDetailsService delegate, org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver nameResolver)
-
-
Method Details
-
getUserCache
public org.springframework.security.core.userdetails.UserCache getUserCache() -
setUserCache
public void setUserCache(org.springframework.security.core.userdetails.UserCache userCache) -
loadUserByUsername
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException - Specified by:
loadUserByUsername
in interfaceorg.springframework.security.core.userdetails.UserDetailsService
- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
-