169             Map<String, Object> config = 
new HashMap<>();
   170             for (Map.Entry<String, String> e : 
map.entrySet()) {
   172                 PasswordPolicyProvider provider = session.getProvider(PasswordPolicyProvider.class, e.getKey());
   173                 if (provider == null) {
   174                     throw new PasswordPolicyConfigException(
"Password policy not found");
   179                     o = provider.parseConfig(e.getValue());
   180                 } 
catch (PasswordPolicyConfigException ex) {
   181                     throw new ModelException(
"Invalid config for " + e.getKey() + 
": " + ex.getMessage());
   184                 config.put(e.getKey(), o);
 LinkedHashMap< String, String > map
Definition: PasswordPolicy.java:117
 
PasswordPolicy(Builder builder, Map< String, Object > policyConfig)
Definition: PasswordPolicy.java:61