Example usage for org.springframework.security.web.authentication.preauth.j2ee J2eePreAuthenticatedProcessingFilter setAuthenticationManager

List of usage examples for org.springframework.security.web.authentication.preauth.j2ee J2eePreAuthenticatedProcessingFilter setAuthenticationManager

Introduction

In this page you can find the example usage for org.springframework.security.web.authentication.preauth.j2ee J2eePreAuthenticatedProcessingFilter setAuthenticationManager.

Prototype

public void setAuthenticationManager(AuthenticationManager authenticationManager) 

Source Link

Usage

From source file:com.hp.autonomy.frontend.find.idol.beanconfiguration.ReverseProxyIdolSecurityCustomizer.java

@SuppressWarnings("ProhibitedExceptionDeclared")
@Override/*from  w w w  .j a  v  a2  s. c  o  m*/
public void customize(final HttpSecurity http, final AuthenticationManager authenticationManager)
        throws Exception {
    final J2eePreAuthenticatedProcessingFilter filter = new J2eePreAuthenticatedProcessingFilter();
    filter.setAuthenticationManager(authenticationManager);

    http.addFilter(filter);
}