NIFI-655:

- Making the auto wiring more explicit.
This commit is contained in:
Matt Gilman 2015-11-09 17:49:44 -05:00
parent 1925392a98
commit a16d8c35c9
1 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ import org.apache.nifi.web.security.login.LoginAuthenticationFilter;
import org.apache.nifi.web.security.jwt.JwtAuthenticationFilter;
import org.apache.nifi.web.security.jwt.JwtService;
import org.apache.nifi.web.security.node.NodeAuthorizedUserFilter;
import org.apache.nifi.web.security.token.NiFiAuthenticationRequestToken;
import org.apache.nifi.web.security.x509.X509AuthenticationFilter;
import org.apache.nifi.web.security.x509.X509CertificateExtractor;
import org.apache.nifi.web.security.x509.X509CertificateValidator;
@ -171,7 +172,7 @@ public class NiFiWebApiSecurityConfiguration extends WebSecurityConfigurerAdapte
}
@Autowired
public void setUserDetailsService(AuthenticationUserDetailsService userDetailsService) {
public void setUserDetailsService(AuthenticationUserDetailsService<NiFiAuthenticationRequestToken> userDetailsService) {
this.userDetailsService = userDetailsService;
}