net.sourceforge.blogentis.utils.tools
Class SecurityTool
java.lang.Object
net.sourceforge.blogentis.utils.tools.SecurityTool
- All Implemented Interfaces:
- org.apache.turbine.services.pull.RunDataApplicationTool
- public class SecurityTool
- extends java.lang.Object
- implements org.apache.turbine.services.pull.RunDataApplicationTool
Tool to simplify Velocity access control checks.
- Author:
- abas
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
protected BlogRunData data
SecurityTool
public SecurityTool()
SecurityTool
public SecurityTool(BlogRunData data)
init
public void init(java.lang.Object obj)
- Specified by:
init
in interface org.apache.turbine.services.pull.RunDataApplicationTool
setRunData
public void setRunData(BlogRunData brdata)
refresh
public void refresh(org.apache.turbine.util.RunData data)
- Specified by:
refresh
in interface org.apache.turbine.services.pull.RunDataApplicationTool
getIsSiteAdmin
public boolean getIsSiteAdmin()
getIsBlogAdmin
public boolean getIsBlogAdmin()
getIsBlogAuthor
public boolean getIsBlogAuthor()
getIsBlogEditor
public boolean getIsBlogEditor()
getCanEditThisPost
public boolean getCanEditThisPost()
Copyright © 2003-2004 SourceForge.net. All Rights Reserved.