use of org.apache.nifi.web.security.jwt.JwtAuthenticationFilter in project nifi by apache.
the class NiFiWebApiSecurityConfiguration method jwtFilterBean.
@Bean
public JwtAuthenticationFilter jwtFilterBean() throws Exception {
if (jwtAuthenticationFilter == null) {
jwtAuthenticationFilter = new JwtAuthenticationFilter();
jwtAuthenticationFilter.setProperties(properties);
jwtAuthenticationFilter.setAuthenticationManager(authenticationManager());
}
return jwtAuthenticationFilter;
}
Aggregations