@Alternative
public class PropertyAuthenticationManager extends SimpleUserPassAuthenticationManager {
public PropertyAuthenticationManager( final SubjectPropertiesProvider propertiesProvider ) {
super( new PropertyUserSource(),
new BasicUserPassAuthenticationScheme(),
null,
propertiesProvider,
Collections.<String, String>emptyMap() );
}