public class PrincipalAcl extends Object implements Serializable
| Constructor and Description |
|---|
PrincipalAcl(Map<String,Set<String>> mapGranted,
Map<String,Set<String>> mapDenied) |
| Modifier and Type | Method and Description |
|---|---|
void |
fillMatchingPaths(Pattern pattern,
Set<String> results)
Get all paths where an ACE is defined for this principal, matching the specified pattern.
|
void |
fillRolesForPath(String nodePath,
Map<String,Set<String>> rolesForPath)
Fill the map passed as parameter with the roles for the corresponding node path, defined for this principal.
|
public void fillMatchingPaths(Pattern pattern, Set<String> results)
pattern - The pattern to matchresults - The set where to put the resultspublic void fillRolesForPath(String nodePath, Map<String,Set<String>> rolesForPath)
nodePath - The path to look forrolesForPath - The final map where to put the results, with all roles per pathsCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.