This repository was archived by the owner on Dec 12, 2018. It is now read-only.
This repository was archived by the owner on Dec 12, 2018. It is now read-only.
Authentication in Spring Security does not support specifying an accountStore
#513
Open
Description
StormpathAuthenticationProvider#createAuthenticationRequest is missing inAccountStore(AccountStore)
protected AuthenticationRequest createAuthenticationRequest(Authentication authentication) {
String username = (String) authentication.getPrincipal();
String password = (String) authentication.getCredentials();
return UsernamePasswordRequest.builder().setUsernameOrEmail(username).setPassword(password).build();
}