SEC-1022: Remove use of static methods/initializers in Acl Permissions. Added setter for PermissionFactory to AclPermissionEvaluator
This commit is contained in:
parent
80dc0388c7
commit
24155d4abe
|
@ -125,7 +125,7 @@ public class AclPermissionEvaluator implements PermissionEvaluator {
|
|||
}
|
||||
|
||||
}
|
||||
throw new IllegalArgumentException("unsupported permission: " + permission);
|
||||
throw new IllegalArgumentException("Unsupported permission: " + permission);
|
||||
}
|
||||
|
||||
public void setObjectIdentityRetrievalStrategy(ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy) {
|
||||
|
@ -139,4 +139,8 @@ public class AclPermissionEvaluator implements PermissionEvaluator {
|
|||
public void setSidRetrievalStrategy(SidRetrievalStrategy sidRetrievalStrategy) {
|
||||
this.sidRetrievalStrategy = sidRetrievalStrategy;
|
||||
}
|
||||
|
||||
public void setPermissionFactory(PermissionFactory permissionFactory) {
|
||||
this.permissionFactory = permissionFactory;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue