Package org.ametys.runtime.plugins.admin
Class HasNotAdminRightAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.core.util.cocoon.AbstractCurrentUserProviderServiceableAction
-
- org.ametys.plugins.core.right.HasRightAction
-
- org.ametys.runtime.plugins.admin.HasNotAdminRightAction
-
- All Implemented Interfaces:
Component
,Configurable
,LogEnabled
,Serviceable
,ThreadSafe
,Action
public class HasNotAdminRightAction extends HasRightAction
This action determines if the user is in admin.
Throw an IllegalStateException if not
-
-
Field Summary
-
Fields inherited from class org.ametys.plugins.core.right.HasRightAction
_baseContext, _hasRight, _rightManager
-
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
-
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
-
Constructor Summary
Constructors Constructor Description HasNotAdminRightAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Configuration configuration)
-
Methods inherited from class org.ametys.plugins.core.right.HasRightAction
act, getBaseContext, service
-
Methods inherited from class org.ametys.core.util.cocoon.AbstractCurrentUserProviderServiceableAction
_getCurrentUser
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
HasNotAdminRightAction
public HasNotAdminRightAction()
-
-
Method Detail
-
configure
public void configure(Configuration configuration) throws ConfigurationException
- Specified by:
configure
in interfaceConfigurable
- Overrides:
configure
in classHasRightAction
- Throws:
ConfigurationException
-
-