@Override
protected Object doAction(Object... params) {
String policyId = (String) params[0];
String bucketId = (String) params[1];
AuthIdsNoIdType authIds = (AuthIdsNoIdType) params[2];
if(LOG.isDebugEnabled()) {
LOG.debug("Remove auths fromo policy:" + policyId + " on bucket:", bucketId);
}
for (String authId : authIds.getAuthIds())
{
dataManager.removeAuthFromBucket(policyId, bucketId, authId);
}
return new PolicyResponse(PolicyResponse.SUCCESS);