public class PackageAclHandler extends BaseHandler
Constructor and Description |
---|
PackageAclHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
aclPackageTypeCapable(java.lang.Object ctx,
java.lang.String[] params)
Tests to determine if the requested package is capable with the given ACLs.
|
boolean |
aclTokenHasEntitlement(java.lang.Object ctx,
java.lang.String[] params)
Returns true if the Token whose id matches the given tid,
has the requested entitlement given by entitlement label in param 0
|
aclIsSatellite, getAsLong
public boolean aclTokenHasEntitlement(java.lang.Object ctx, java.lang.String[] params)
ctx
- Context Map to pass inparams
- Parameters to use to fetch from Contextpublic boolean aclPackageTypeCapable(java.lang.Object ctx, java.lang.String[] params)
ctx
- context map describing the requestparams
- Parameters to use to fetch from context