|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanetj.dataengine.security.DESecurityManager
!!DA (6/3/2003 10:51:01 AM)
Field Summary | |
static java.lang.String |
className
|
Constructor Summary | |
DESecurityManager()
|
Method Summary | |
static boolean |
checkAccess(Table table,
int mode,
ExecutingContext ec)
Tests if the current user is authorized to access the table |
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(java.lang.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(java.lang.String system,
int owner,
int group,
int authorization)
|
static DEUser2Group |
getDEUser2Group(java.lang.String system,
int owner,
int user,
int group)
|
static int |
getSecurityLevel(java.lang.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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String className
Constructor Detail |
public DESecurityManager()
Method Detail |
public static boolean checkAccess(Table table, int mode, ExecutingContext ec)
table
- The table in questionmode
- A mode constant describing the type of access (such as Row.MODE_READ, Row.MODE.DELETE, etc.)ec
- The current ExecutingContextpublic static boolean checkExecute(Operation operation, ExecutingContext pEc)
operation
-
public static boolean checkExecute(IUser user, Operation operation)
user
- operation
-
public static int deleteDEUser2Group(java.lang.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(java.lang.String system, int owner, int group, int authorization) throws CMException
CMException
public static DEUser2Group getDEUser2Group(java.lang.String system, int owner, int user, int group) throws CMException
CMException
public static final int getSecurityLevel(java.lang.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 |