crypto/src/main/java/org/springframework/security/crypto/password/LdapShaPasswordEncoder.java
public boolean matches(CharSequence rawPassword, String encodedPassword) {
		return matches(rawPassword == null ? null : rawPassword.toString(), encodedPassword);
	}
public boolean matches(CharSequence rawPassword, String encodedPassword) {
		return matches(rawPassword == null ? null : rawPassword.toString(), encodedPassword);
	}
public boolean matches ( CharSequence rawPassword , String encodedPassword ) { return matches ( rawPassword == null ? null : rawPassword . toString ( ) , encodedPassword ) ; }
Checks the validity of an unencoded password against an encoded one in the form
"{SSHA}sQuQF8vj8Eg2Y1hPdh3bkQhCKQBgjhQI".

@param rawPassword unencoded password to be verified.
@param encodedPassword the actual SSHA or SHA encoded password

@return true if they match (independent of the case of the prefix).
Checks the validity of an unencoded password against an encoded one in the form { SSHA } sQuQF8vj8Eg2Y1hPdh3bkQhCKQBgjhQI .