I was just reading an article that showed the following Spring Security XML configuration:
<authentication-provider>
<password-encoder hash="sha" />
<jdbc-user-service data-source-ref="dataSource" />
</authentication-provider>
I wondered if password-encoder could take some combination of parameters that would make it use SHA-256. I easily found the Java constructor for the ShaPasswordEncoder, but how can I tell whether the password-encoder tag takes the argument for the Java object?
In general, how can one tell what the tags and parameters for Spring configuration are?
For example, how do I know which that ShaPasswordEncoder goes with "password-encoder" (if indeed it does)?