|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectissrg.pba.rbac.xmlpolicy.PolicyXMLNode
issrg.pba.rbac.xmlpolicy.XMLPolicyParser.RoleListNode
This is an implementation of Role List. The object constructs the credential the Role List represents. It uses a RoleHierarchyPolicyNode to identify the roles listed.
Field Summary | |
protected Credentials |
credential
This is the credential, represented by the Role List. |
protected XMLPolicyParser.RoleHierarchyPolicyNode |
policy
This is the reference to the Role Hierarchy Policy |
Fields inherited from class issrg.pba.rbac.xmlpolicy.PolicyXMLNode |
attributes, children, name, nodeStr |
Constructor Summary | |
XMLPolicyParser.RoleListNode(org.xml.sax.Attributes attrs)
This constructor builds a RoleListNode given the set of attributes. |
|
XMLPolicyParser.RoleListNode(XMLPolicyParser.RoleHierarchyPolicyNode rhpn,
org.xml.sax.Attributes attrs)
This constructor builds a RoleListNode given the RoleHierarchyPolicy and the attributes of the XML element. |
Method Summary | |
void |
construct()
This method checks that all the roles listed have been declared in the corresponding RoleHierarchyPolicyNode and constructs a Credentials representing the union of all the roles in the list. |
Credentials |
getCredential()
This method returns the credential this role list represents |
Methods inherited from class issrg.pba.rbac.xmlpolicy.PolicyXMLNode |
addChild, addString, getAttributes, getChildren, getName, getString, toString, toXML, toXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected XMLPolicyParser.RoleHierarchyPolicyNode policy
protected Credentials credential
Constructor Detail |
public XMLPolicyParser.RoleListNode(org.xml.sax.Attributes attrs)
This is a shortcut to calling new RoleListNode(null, attrs).
attrs
- - the attributes of this XML elementpublic XMLPolicyParser.RoleListNode(XMLPolicyParser.RoleHierarchyPolicyNode rhpn, org.xml.sax.Attributes attrs)
rhpn
- - RoleHierarchyPolicyNode representing the role hierarchy
policy to be used by this Role List; if null, the default
RoleHierarchyPolicy discovered by XMLPolicyParser will be usedattrs
- - the attributes of the XML elementMethod Detail |
public void construct() throws PolicyParsingException
construct
in class PolicyXMLNode
PolicyParsingException
public Credentials getCredential()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |