|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.lanl.RAD.Impl.RightsService
Used to generate effective rights of user based on his roles Each role has an id and a set of rights for that role
| Constructor Summary | |
RightsService(java.lang.String rightsFile)
Creates a new HashTable and reads the role-right pairs into it from Rights.xml |
|
| Method Summary | |
java.util.Vector |
getRights(org.omg.Security.SecAttribute[] attribute_list)
|
static void |
main(java.lang.String[] argv)
used to test Rights Service |
void |
read(java.lang.String fileName)
Opens the XML file and and calls traverseTX to traverse the structure |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RightsService(java.lang.String rightsFile)
| Method Detail |
public void read(java.lang.String fileName)
public java.util.Vector getRights(org.omg.Security.SecAttribute[] attribute_list)
attribute_list - contains the user's roles based on which
Rights are generated
public static void main(java.lang.String[] argv)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||