org.blojsom.plugin.admin
Interface PermissionedPlugin

All Known Implementing Classes:
BaseAdminPlugin

public interface PermissionedPlugin

PermissionedPlugin

Since:
blojsom 2.23
Version:
$Id: PermissionedPlugin.java,v 1.2 2006/01/04 16:52:59 czarneckid Exp $
Author:
David Czarnecki

Method Summary
 boolean checkPermission(BlogUser blogUser, java.util.Map permissionContext, java.lang.String username, java.lang.String permission)
          Check the permission for a given username and permission
 

Method Detail

checkPermission

public boolean checkPermission(BlogUser blogUser,
                               java.util.Map permissionContext,
                               java.lang.String username,
                               java.lang.String permission)
Check the permission for a given username and permission

Parameters:
blogUser - BlogUser information
permissionContext - Map containing context information for checking permission
username - Username
permission - Permission
Returns:
true if the username has the required permission, false otherwise