DLESE Tools
v1.6.0

org.dlese.dpc.schemedit
Class RoleManager

java.lang.Object
  extended by org.dlese.dpc.schemedit.RoleManager

public class RoleManager
extends Object

Author:
ostwald

$Id: RoleManager.java,v 1.9 2009/03/20 23:33:55 jweather Exp $


Field Summary
static String BATCH_DELETE
           
static String DELETE_RECORD
           
static String EXPORT_COLLECTION
           
static String MANAGE
           
static String MANAGE_COLLECTIONS
           
static String NO_OP
           
static String SETTINGS
           
static String STATUS_HISTORY
           
 
Constructor Summary
RoleManager(ServletContext context)
          Constructor for the RoleManager object
 
Method Summary
 void destroy()
           
 boolean isAuthorized(String operation, SessionBean sessionBean)
           
 boolean isAuthorized(String operation, SessionBean sessionBean, String collection)
           
 boolean isAuthorized(String role, String operation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_OP

public static final String NO_OP
See Also:
Constant Field Values

DELETE_RECORD

public static final String DELETE_RECORD
See Also:
Constant Field Values

BATCH_DELETE

public static final String BATCH_DELETE
See Also:
Constant Field Values

EXPORT_COLLECTION

public static final String EXPORT_COLLECTION
See Also:
Constant Field Values

SETTINGS

public static final String SETTINGS
See Also:
Constant Field Values

MANAGE_COLLECTIONS

public static final String MANAGE_COLLECTIONS
See Also:
Constant Field Values

MANAGE

public static final String MANAGE
See Also:
Constant Field Values

STATUS_HISTORY

public static final String STATUS_HISTORY
See Also:
Constant Field Values
Constructor Detail

RoleManager

public RoleManager(ServletContext context)
Constructor for the RoleManager object

Method Detail

isAuthorized

public boolean isAuthorized(String operation,
                            SessionBean sessionBean)

isAuthorized

public boolean isAuthorized(String operation,
                            SessionBean sessionBean,
                            String collection)

isAuthorized

public boolean isAuthorized(String role,
                            String operation)

destroy

public void destroy()

DLESE Tools
v1.6.0