List of usage examples for org.springframework.security.web.authentication.www DigestAuthenticationFilter setCreateAuthenticatedToken
public void setCreateAuthenticatedToken(boolean createAuthenticatedToken)
From source file:org.opendatakit.configuration.SecurityConfiguration.java
@Bean public DigestAuthenticationFilter digestAuthenticationFilter() throws ODKEntityNotFoundException, ODKOverQuotaException, ODKDatastoreException, PropertyVetoException { DigestAuthenticationFilter digestAuthenticationFilter = new DigestAuthenticationFilter(); digestAuthenticationFilter.setPasswordAlreadyEncoded(true); digestAuthenticationFilter.setAuthenticationEntryPoint(digestEntryPoint()); digestAuthenticationFilter.setUserDetailsService(digestAndBasicLoginService()); // https://github.com/spring-projects/spring-security/issues/3310 digestAuthenticationFilter.setCreateAuthenticatedToken(true); return digestAuthenticationFilter; }