| java.lang.Object org.blojsom.plugin.permission.PermissionChecker
PermissionChecker | public class PermissionChecker (Code) | | Permission Checker plugin
author: David Czarnecki version: $Id: PermissionChecker.java,v 1.2 2007/01/17 02:35:12 czarneckid Exp $ since: blojsom 3.0 |
PermissionChecker | public PermissionChecker(Blog blog, AuthorizationProvider authorizationProvider, Map permissionContext)(Code) | | Create a new permission checker for a given blog
Parameters: blogUser - Blog Parameters: authorizationProvider - AuthorizationProvider Parameters: permissionContext - Context for permissions to be evaulated in (not-used) |
checkPermission | public boolean checkPermission(String username, String permission)(Code) | | Check permission for a given username and permission
Parameters: username - Username Parameters: permission - Permission to check true if username has given permission , false otherwise |
|
|