com.redhat.rhn.common.security.acl
Class ActivationKeyAclHandler

java.lang.Object
  extended by com.redhat.rhn.common.security.acl.BaseHandler
      extended by com.redhat.rhn.common.security.acl.ActivationKeyAclHandler
All Implemented Interfaces:
AclHandler

public class ActivationKeyAclHandler
extends BaseHandler
implements AclHandler

ActivationKeyAclHandler


Constructor Summary
ActivationKeyAclHandler()
           
 
Method Summary
 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
 
Methods inherited from class com.redhat.rhn.common.security.acl.BaseHandler
checkMonitoring, getAsLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivationKeyAclHandler

public ActivationKeyAclHandler()
Method Detail

aclTokenHasEntitlement

public 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

Parameters:
ctx - Context Map to pass in
params - Parameters to use to fetch from Context
Returns:
true if token as the entitlement checked is granted, false otherwise