net.sourceforge.blogentis.turbine
Class SecureBlogAction

java.lang.Object
  extended byorg.apache.turbine.modules.Assembler
      extended byorg.apache.turbine.modules.Action
          extended byorg.apache.turbine.modules.ActionEvent
              extended byorg.apache.turbine.util.velocity.VelocityActionEvent
                  extended byorg.apache.turbine.modules.actions.VelocityAction
                      extended byorg.apache.turbine.modules.actions.VelocitySecureAction
                          extended bynet.sourceforge.blogentis.turbine.SecureBlogAction
Direct Known Subclasses:
BlogBoxPropMod, BlogCommentMod, BlogFileMod, BlogFileRestoreZip, BlogPluginMod, BlogPropMod, BlogSectionMod, BlogTrackbackMod, BlogUserMod, PostMod

public abstract class SecureBlogAction
extends org.apache.turbine.modules.actions.VelocitySecureAction

Author:
abas

Field Summary
 
Fields inherited from class org.apache.turbine.modules.ActionEvent
BUTTON, BUTTON_LENGTH, LENGTH, log, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX
 
Constructor Summary
SecureBlogAction()
           
 
Method Summary
protected abstract  java.lang.String[] getPermissions()
          Get the array of permissions this actions needs.
protected  boolean isAuthorized(org.apache.turbine.util.RunData data)
           
 
Methods inherited from class org.apache.turbine.modules.actions.VelocitySecureAction
doPerform, perform
 
Methods inherited from class org.apache.turbine.modules.actions.VelocityAction
doPerform, getContext, setTemplate
 
Methods inherited from class org.apache.turbine.util.velocity.VelocityActionEvent
executeEvents
 
Methods inherited from class org.apache.turbine.modules.ActionEvent
considerKey, executeEvents, formatString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureBlogAction

public SecureBlogAction()
Method Detail

getPermissions

protected abstract java.lang.String[] getPermissions()
Get the array of permissions this actions needs. The logged-in user must have at least one of them to be allowed access to this screen.

Returns:
the array of permissions.

isAuthorized

protected final boolean isAuthorized(org.apache.turbine.util.RunData data)


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.