public class RoleManager
extends java.lang.Object
$Id: RoleManager.java,v 1.9 2009/03/20 23:33:55 jweather Exp $
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BATCH_DELETE |
static java.lang.String |
DELETE_RECORD |
static java.lang.String |
EXPORT_COLLECTION |
static java.lang.String |
MANAGE |
static java.lang.String |
MANAGE_COLLECTIONS |
static java.lang.String |
NO_OP |
static java.lang.String |
SETTINGS |
static java.lang.String |
STATUS_HISTORY |
Constructor and Description |
---|
RoleManager(javax.servlet.ServletContext context)
Constructor for the RoleManager object
|
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
boolean |
isAuthorized(java.lang.String operation,
SessionBean sessionBean) |
boolean |
isAuthorized(java.lang.String operation,
SessionBean sessionBean,
java.lang.String collection) |
boolean |
isAuthorized(java.lang.String role,
java.lang.String operation) |
public static final java.lang.String NO_OP
public static final java.lang.String DELETE_RECORD
public static final java.lang.String BATCH_DELETE
public static final java.lang.String EXPORT_COLLECTION
public static final java.lang.String SETTINGS
public static final java.lang.String MANAGE_COLLECTIONS
public static final java.lang.String MANAGE
public static final java.lang.String STATUS_HISTORY
public RoleManager(javax.servlet.ServletContext context)
public boolean isAuthorized(java.lang.String operation, SessionBean sessionBean)
public boolean isAuthorized(java.lang.String operation, SessionBean sessionBean, java.lang.String collection)
public boolean isAuthorized(java.lang.String role, java.lang.String operation)
public void destroy()