Skip to content

SEC-1979: Constants for ShaPasswordEncoder #2203

Closed
@spring-projects-issues

Description

@spring-projects-issues

Daniel Holmes (Migrated from SEC-1979) said:

Would be nice to have this class provide public constants (or enum) so that
client code could have a more readable name. As an enum also would be more specific to allowed values as well.

example
new ShaPasswordEncoder(256);
could be
new ShaPasswordEncoder(SHA256);

Metadata

Metadata

Assignees

Labels

status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementtype: jiraAn issue that was migrated from JIRA

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions