org.rhq.enterprise.server.perspective.activator.context
Class GlobalActivationContext

java.lang.Object
  extended by org.rhq.enterprise.server.perspective.activator.context.GlobalActivationContext
All Implemented Interfaces:
ActivationContext
Direct Known Subclasses:
AbstractResourceOrGroupActivationContext

public class GlobalActivationContext
extends Object
implements ActivationContext

Author:
Ian Springer

Constructor Summary
GlobalActivationContext(org.rhq.core.domain.auth.Subject subject)
           
 
Method Summary
protected  EnumSet<org.rhq.core.domain.authz.Permission> getGlobalPermissions()
           
 EnumSet<LicenseFeature> getLicenseFeatures()
           
 ActivationContextScope getScope()
           
 org.rhq.core.domain.auth.Subject getSubject()
           
 boolean hasGlobalPermission(org.rhq.core.domain.authz.Permission permission)
           
 boolean isSuperuser()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalActivationContext

public GlobalActivationContext(org.rhq.core.domain.auth.Subject subject)
Method Detail

getScope

public ActivationContextScope getScope()
Specified by:
getScope in interface ActivationContext

getLicenseFeatures

@NotNull
public EnumSet<LicenseFeature> getLicenseFeatures()

getSubject

public org.rhq.core.domain.auth.Subject getSubject()

isSuperuser

public boolean isSuperuser()

hasGlobalPermission

public boolean hasGlobalPermission(org.rhq.core.domain.authz.Permission permission)

getGlobalPermissions

protected EnumSet<org.rhq.core.domain.authz.Permission> getGlobalPermissions()


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.