Class KnoxAuthenticationProvider
java.lang.Object
org.apache.nifi.web.security.NiFiAuthenticationProvider
org.apache.nifi.web.security.knox.KnoxAuthenticationProvider
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKnoxAuthenticationProvider(KnoxService knoxService, NiFiProperties nifiProperties, Authorizer authorizer) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authenticationauthenticate(org.springframework.security.core.Authentication authentication) booleanMethods inherited from class org.apache.nifi.web.security.NiFiAuthenticationProvider
getMappings, getUserGroups, mapIdentity
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
knoxService
-
-
Constructor Details
-
KnoxAuthenticationProvider
public KnoxAuthenticationProvider(KnoxService knoxService, NiFiProperties nifiProperties, Authorizer authorizer)
-
-
Method Details
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException - Throws:
org.springframework.security.core.AuthenticationException
-
supports
-