Skip to content
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
@mrioan

Description

@mrioan

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();
    }

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions