log
.info( "setACL("
+ StringUtils.join( new Object[] { context, acl }, ',' )
+ ");" );
PAPContext papContext;
if (context == null || context.equals("")
|| context.equals("global-context"))
papContext = AuthorizationEngine.instance().getGlobalContext();
else
throw new PAPAuthzException(
"Only the context 'global-context' is currently supported!");
ACL globalACL = papContext.getAcl();
SetACLOperation.instance( context, convertACL( acl )).execute();
AuthorizationEngine.instance().saveConfiguration();
return;