public class NiFiAuthorizationService extends Object implements org.springframework.security.core.userdetails.UserDetailsService
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
logger |
private NiFiProperties |
properties |
private UserService |
userService |
| Constructor and Description |
|---|
NiFiAuthorizationService() |
| Modifier and Type | Method and Description |
|---|---|
private NiFiUserDetails |
getNiFiUserDetails(String dn)
Loads the user details for the specified dn.
|
org.springframework.security.core.userdetails.UserDetails |
loadUserByUsername(String rawProxyChain)
Loads the user details for the specified dn.
|
void |
setProperties(NiFiProperties properties) |
void |
setUserService(UserService userService) |
private static final org.slf4j.Logger logger
private UserService userService
private NiFiProperties properties
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String rawProxyChain) throws org.springframework.security.core.userdetails.UsernameNotFoundException, org.springframework.dao.DataAccessException
loadUserByUsername in interface org.springframework.security.core.userdetails.UserDetailsServicerawProxyChain - org.springframework.security.core.userdetails.UsernameNotFoundExceptionorg.springframework.dao.DataAccessExceptionprivate NiFiUserDetails getNiFiUserDetails(String dn)
dn - public void setUserService(UserService userService)
public void setProperties(NiFiProperties properties)
Copyright © 2015 Apache NiFi (incubating). All rights reserved.