Skip to content

Support for changing prefix and suffix in DelegatingPasswordEncoder #10273

@heowc

Description

@heowc

Expected Behavior

I can change prefix and suffix.

Current Behavior

I can not change prefix and suffix.
See https://github.com/spring-projects/spring-security/blob/main/crypto/src/main/java/org/springframework/security/crypto/password/DelegatingPasswordEncoder.java#L124...L126

Context

We can increase the flexibility for DelegatingPasswordEncoder.
ex)

{bcypt}blabla~~~  -->  bcypt$blabla~~~

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions