-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Description
Expected Behavior
The class org.springframework.security.crypto.password.DelegatingPasswordEncoder.UnmappedIdPasswordEncoder
should not use org.springframework.util.StringUtils
to allow usage in non Spring environments.
Current Behavior
org.springframework:spring-core
has to be within my dependencies to use the DelegatingPasswordEncoder
and it's only used in one methode
Line 298 in d3332e1
public boolean matches(CharSequence rawPassword, String prefixEncodedPassword) { |
Right now the dependency to org.springframework:spring-core
is optional and for the usage of the most PasswordEncoder
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 adding org.springframework:spring-core
to my dependencies.