Replace SpringUtils in DelegatingPasswordEncoder.UnmappedIdPasswordEncoder #16442
Labels
in: crypto
An issue in spring-security-crypto
status: duplicate
A duplicate of another issue
type: enhancement
A general enhancement
Milestone
Expected Behavior
The class
org.springframework.security.crypto.password.DelegatingPasswordEncoder.UnmappedIdPasswordEncoder
should not useorg.springframework.util.StringUtils
to allow usage in non Spring environments.Current Behavior
org.springframework:spring-core
has to be within my dependencies to use theDelegatingPasswordEncoder
and it's only used in one methodespring-security/crypto/src/main/java/org/springframework/security/crypto/password/DelegatingPasswordEncoder.java
Line 298 in d3332e1
Right now the dependency to
org.springframework:spring-core
is optional and for the usage of the mostPasswordEncoder
implementations not necessary.The Usage of
StringUtils
can easily be replaced.Context
I am having an Eclipse RCP (OSGi) project, where I want to use the
DelegatingPasswordEncoder
right away without addingorg.springframework:spring-core
to my dependencies.The text was updated successfully, but these errors were encountered: