public class OpenNMSUserDetailsService extends Object implements org.springframework.security.core.userdetails.UserDetailsService, org.springframework.beans.factory.InitializingBean
| Constructor and Description | 
|---|
OpenNMSUserDetailsService()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
afterPropertiesSet()  | 
boolean | 
getTrimRealm()  | 
SpringSecurityUserDao | 
getUserDao()  | 
org.springframework.security.core.userdetails.UserDetails | 
loadUserByUsername(String rawUsername) | 
void | 
setTrimRealm(boolean trimRealm)  | 
void | 
setUserDao(SpringSecurityUserDao userDao)  | 
public void afterPropertiesSet()
                        throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String rawUsername) throws org.springframework.security.core.userdetails.UsernameNotFoundException, org.springframework.dao.DataAccessException
loadUserByUsername in interface org.springframework.security.core.userdetails.UserDetailsServiceorg.springframework.security.core.userdetails.UsernameNotFoundExceptionorg.springframework.dao.DataAccessExceptionpublic void setUserDao(SpringSecurityUserDao userDao)
public SpringSecurityUserDao getUserDao()
public void setTrimRealm(boolean trimRealm)
trimRealm - Defaults to false. If set to true, trim the realm
 portion (e.g. @EXAMPLE.ORG) from the authenticated user principal
 name (e.g. user@EXAMPLE.ORG). Useful when authenticating against a
 Kerberos realm or possibly other realm- / domain-aware technologies
 such as OAUTH.public boolean getTrimRealm()
Copyright © 2020. All rights reserved.