public class Access extends BaseHandler
Acls.| Modifier and Type | Field and Description | 
|---|---|
| protected static org.apache.log4j.Logger | LOG | 
| Constructor and Description | 
|---|
| Access()Constructor for Access object | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | aclAllSystemsInSetHaveEntitlement(java.lang.Object ctx,
                                 java.lang.String[] params)Check if all systems in the current system have a certain entitlement. | 
| boolean | aclAllSystemsInSetHaveFeature(java.lang.Object ctx,
                             java.lang.String[] params)Check if all systems in the current system have a certain feature. | 
| boolean | aclCanAccessChannel(java.lang.Object ctx,
                   java.lang.String[] params)returns true or false ifthe user has access to a channel | 
| boolean | aclErrataEditable(java.lang.Object ctx,
                 java.lang.String[] params)See if the erratum isn't a Red Hat erratum | 
| boolean | aclFormvarExists(java.lang.Object ctx,
                java.lang.String[] params)Returns true if the query param exists. | 
| boolean | aclIs(java.lang.Object ctx,
     java.lang.String[] params)Returns true if the given value in the param is found in
 the global configuration. | 
| boolean | aclIsProtected(java.lang.Object ctx,
              java.lang.String[] params) | 
| boolean | aclNeedFirstUser(java.lang.Object ctx,
                java.lang.String[] p)Returns true if the system is a satellite and has any users. | 
| boolean | aclOrgChannelFamily(java.lang.Object ctx,
                   java.lang.String[] params)TODO: Right now this method calls a small little query
 very similar to how the perl code decides this acl. | 
| boolean | aclOrgHasProxies(java.lang.Object ctx,
                java.lang.String[] params)Does the org have any proxies? | 
| boolean | aclOrgRole(java.lang.Object ctx,
          java.lang.String[] params)Checks if the User's Org has the requested Role. | 
| boolean | aclSystemFeature(java.lang.Object ctx,
                java.lang.String[] params)Check if a System has a feature | 
| boolean | aclSystemHasManagementEntitlement(java.lang.Object ctx,
                                 java.lang.String[] params)Check if any system has a management entitlement | 
| boolean | aclSystemHasVirtualizationEntitlement(java.lang.Object ctx,
                                     java.lang.String[] params)Check if a system has virtualization entitlements. | 
| boolean | aclSystemIsInSSM(java.lang.Object ctx,
                java.lang.String[] params)Check if a system has a management entitlement | 
| boolean | aclSystemIsVirtual(java.lang.Object ctx,
                  java.lang.String[] params)Uses the sid param to decide if a system is a virtual guest | 
| boolean | aclTrustChannelAccess(java.lang.Object ctx,
                     java.lang.String[] params) | 
| boolean | aclUidRole(java.lang.Object ctx,
          java.lang.String[] params)Returns true if the User whose uid matches the given uid, is
 in the given Role. | 
| boolean | aclUserAuthenticated(java.lang.Object ctx,
                    java.lang.String[] params)Returns true if the User has been authenticated by the system. | 
| boolean | aclUserCanManageChannels(java.lang.Object ctx,
                        java.lang.String[] params)Returns true if the user is either a channel administrator or an
 org administrator | 
| boolean | aclUserRole(java.lang.Object ctx,
           java.lang.String[] params)Returns true if current User is in the Role. | 
aclIsSatellite, getAsLongpublic boolean aclUidRole(java.lang.Object ctx,
                          java.lang.String[] params)
ctx - Context Map to pass inparams - Parameters to use to fetch from Contextpublic boolean aclUserRole(java.lang.Object ctx,
                           java.lang.String[] params)
ctx - Context Map to pass inparams - Parameters to use to fetch from Contextpublic boolean aclIs(java.lang.Object ctx,
                     java.lang.String[] params)
ctx - Context Map to pass inparams - Parameters to use to fetch from Contextpublic boolean aclOrgChannelFamily(java.lang.Object ctx,
                                   java.lang.String[] params)
ctx - Context Map to pass inparams - Parameters to use to fetch from Contextpublic boolean aclOrgHasProxies(java.lang.Object ctx,
                                java.lang.String[] params)
ctx - Context Map to pass inparams - Parameters to use to fetch from Contextpublic boolean aclSystemFeature(java.lang.Object ctx,
                                java.lang.String[] params)
ctx - Context Map to pass inparams - Parameters to use to fetch from Contextpublic boolean aclSystemHasVirtualizationEntitlement(java.lang.Object ctx,
                                                     java.lang.String[] params)
ctx - Context map to pass in.params - Parameters to use to fetch from context.public boolean aclAllSystemsInSetHaveEntitlement(java.lang.Object ctx,
                                                 java.lang.String[] params)
ctx - Context map to pass in.params - Parameters to use to fetch from context.public boolean aclAllSystemsInSetHaveFeature(java.lang.Object ctx,
                                             java.lang.String[] params)
ctx - Context map to pass in.params - Parameters to use to fetch from context.public boolean aclSystemHasManagementEntitlement(java.lang.Object ctx,
                                                 java.lang.String[] params)
ctx - Context map to pass in.params - Parameters to use to fetch from context.public boolean aclSystemIsVirtual(java.lang.Object ctx,
                                  java.lang.String[] params)
ctx - Context Map to pass inparams - Parameters to use (unused)public boolean aclSystemIsInSSM(java.lang.Object ctx,
                                java.lang.String[] params)
ctx - Context map to pass in.params - Parameters to use to fetch from context.public boolean aclOrgRole(java.lang.Object ctx,
                          java.lang.String[] params)
ctx - Context Map to pass inparams - Used to specify the Role labelpublic boolean aclUserAuthenticated(java.lang.Object ctx,
                                    java.lang.String[] params)
ctx - Context Map to pass inparams - Not usedpublic boolean aclNeedFirstUser(java.lang.Object ctx,
                                java.lang.String[] p)
ctx - acl contextp - parameters for acl (ignored)public boolean aclCanAccessChannel(java.lang.Object ctx,
                                   java.lang.String[] params)
ctx - acl contextparams - params need the channel id as param 0public boolean aclUserCanManageChannels(java.lang.Object ctx,
                                        java.lang.String[] params)
ctx - acl contextparams - parameters for acl (ignored)public boolean aclFormvarExists(java.lang.Object ctx,
                                java.lang.String[] params)
ctx - acl contextparams - parameters for acl (ignored)public boolean aclTrustChannelAccess(java.lang.Object ctx,
                                     java.lang.String[] params)
ctx - acl contextparams - parameters for acl (ignored)public boolean aclIsProtected(java.lang.Object ctx,
                              java.lang.String[] params)
ctx - acl contextparams - parameters for aclpublic boolean aclErrataEditable(java.lang.Object ctx,
                                 java.lang.String[] params)
ctx - Our current context, containing the erratumparams - nevim, dal