|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.security.DBUserPermission
Reads in the user levels from a database then fills an orderd list of levels that can be checked against for user permissions.
| Constructor Summary | |
DBUserPermission()
|
|
| Method Summary | |
boolean |
hasPermission(java.lang.String minAccessLevel,
ILoginInfo li)
returns true if the user represented by the login information object has the permission described by the accessLevelDescription parameter. |
void |
initialize()
Read in the levels and put them in the userLevels ordered high to low |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DBUserPermission()
| Method Detail |
public void initialize()
initialize in interface IUserPermission
public boolean hasPermission(java.lang.String minAccessLevel,
ILoginInfo li)
IUserPermission
hasPermission in interface IUserPermissionminAccessLevel - Describes the permission requested.li - LoginInfo containing identification credentials
of the user.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||