|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.dataengine.security.DESecurityManager
!!DA (6/3/2003 10:51:01 AM)
Field Summary | |
static String |
className
|
Constructor Summary | |
DESecurityManager()
|
Method Summary | |
static boolean |
checkExecute(IUser user,
Operation operation)
Deprecated. - replaced by checkExecute(Operation, ExecutingContext) cannot use operation based security with this method |
static boolean |
checkExecute(Operation operation,
ExecutingContext pEc)
Check to see if the given principal is allowed to view the given operation. |
static int |
deleteDEUser2Group(String system,
int owner,
int user,
int group)
|
static DEAuthorization |
getAuthorization(IUser user,
Operation operation)
Check to see if the given principal is allowed to view the given operation. |
static RowCollection |
getAuthorizations(IUser user)
Check to see if the given principal is allowed to view the given operation. |
static DEGroup2Authorization |
getDEGroup2Authorization(String system,
int owner,
int group,
int authorization)
|
static DEUser2Group |
getDEUser2Group(String system,
int owner,
int user,
int group)
|
static int |
getSecurityLevel(Object securityLevel)
Returns the security level of the row as an int. |
static Row |
secureRow(IUser user,
Row row)
Check to see if the given principal is allowed to view the given operation. |
static RowCollection |
secureRowCollection(IUser user,
RowCollection rc)
Gets a RowCollection stripped of any secured objects from the given RowCollection that the IUser does not have permission to. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String className
Constructor Detail |
public DESecurityManager()
Method Detail |
public static boolean checkExecute(Operation operation, ExecutingContext pEc)
operation
-
public static boolean checkExecute(IUser user, Operation operation)
user
- operation
-
public static int deleteDEUser2Group(String system, int owner, int user, int group) throws CMException
CMException
public static DEAuthorization getAuthorization(IUser user, Operation operation)
user
- operation
-
public static RowCollection getAuthorizations(IUser user)
user
-
public static DEGroup2Authorization getDEGroup2Authorization(String system, int owner, int group, int authorization) throws CMException
CMException
public static DEUser2Group getDEUser2Group(String system, int owner, int user, int group) throws CMException
CMException
public static final int getSecurityLevel(Object securityLevel)
public static Row secureRow(IUser user, Row row)
user
-
public static RowCollection secureRowCollection(IUser user, RowCollection rc)
user
- rc
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |