public class HybridOpenNMSUserAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
HybridOpenNMSUserAuthenticationProvider() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication) |
protected void |
checkUserPassword(String authUsername,
String authPassword,
SpringSecurityUser user) |
SpringSecurityUserDao |
getUserDao() |
UserManager |
getUserManager() |
void |
setUserDao(SpringSecurityUserDao userDao) |
void |
setUserManager(UserManager userManager) |
boolean |
supports(Class<?> authentication) |
public HybridOpenNMSUserAuthenticationProvider()
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public UserManager getUserManager()
public void setUserManager(UserManager userManager)
public SpringSecurityUserDao getUserDao()
public void setUserDao(SpringSecurityUserDao userDao)
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException
authenticate
in interface org.springframework.security.authentication.AuthenticationProvider
org.springframework.security.core.AuthenticationException
protected void checkUserPassword(String authUsername, String authPassword, SpringSecurityUser user) throws org.springframework.security.core.AuthenticationException
org.springframework.security.core.AuthenticationException
public boolean supports(Class<?> authentication)
supports
in interface org.springframework.security.authentication.AuthenticationProvider
Copyright © 2021. All rights reserved.