d661622 Issue 49866 - Refactor PwPolicy lib389/CLI module

Authored and Committed by spichugi 5 years ago
    Issue 49866 - Refactor PwPolicy lib389/CLI module
    
    Description: Refactor Password Policy module and its CLI part.
    Add PwPolicyManager object and PwPolicyEntry(DSLdapObject).
    Validate LDIF and Backup dir paths. Don't accept a forward slash
    because it can lead to a security flow.
    Add an additional assertion to Backup/Restore CLI test suite.
    
    https://pagure.io/389-ds-base/issue/49866
    
    Reviewed by: mreynolds (Thanks!)
    
        
file modified
+13 -8
file modified
+11 -5
file modified
+64 -52
file modified
+242 -249