*/
public GeoServerPasswordEncoder loadPasswordEncoder(String name) {
GeoServerPasswordEncoder encoder = (GeoServerPasswordEncoder) GeoServerExtensions.bean(name);
if (encoder != null) {
try {
encoder.initialize(this);
} catch (IOException e) {
throw new RuntimeException("Error occurred initializing password encoder");
}
}
return encoder;