org.rhq.enterprise.server.perspective.activator
Class SuperuserActivator
java.lang.Object
org.rhq.enterprise.server.perspective.activator.AbstractGlobalActivator
org.rhq.enterprise.server.perspective.activator.SuperuserActivator
- All Implemented Interfaces:
- Serializable, Activator<GlobalActivationContext>
public class SuperuserActivator
- extends AbstractGlobalActivator
An subject-scoped activator that checks if the current user is the RHQ superuser.
- Author:
- Ian Springer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuperuserActivator
public SuperuserActivator()
isActive
public boolean isActive(GlobalActivationContext context)
- Parameters:
context - The context information required to process the activation conditions.
- Returns:
- true if all of the activation cnditions for this Activator have been met. Otherwise, false.
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.