Example usage for org.springframework.security.web.authentication.www DigestAuthenticationFilter afterPropertiesSet

List of usage examples for org.springframework.security.web.authentication.www DigestAuthenticationFilter afterPropertiesSet

Introduction

In this page you can find the example usage for org.springframework.security.web.authentication.www DigestAuthenticationFilter afterPropertiesSet.

Prototype

@Override
    public void afterPropertiesSet() 

Source Link

Usage

From source file:org.springframework.security.web.authentication.www.DigestAuthenticationFilterTests.java

@Test(expected = IllegalArgumentException.class)
public void startupDetectsMissingAuthenticationEntryPoint() throws Exception {
    DigestAuthenticationFilter filter = new DigestAuthenticationFilter();
    filter.setUserDetailsService(mock(UserDetailsService.class));
    filter.afterPropertiesSet();
}

From source file:org.springframework.security.web.authentication.www.DigestAuthenticationFilterTests.java

@Test(expected = IllegalArgumentException.class)
public void startupDetectsMissingUserDetailsService() throws Exception {
    DigestAuthenticationFilter filter = new DigestAuthenticationFilter();
    filter.setAuthenticationEntryPoint(new DigestAuthenticationEntryPoint());
    filter.afterPropertiesSet();
}