|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.gt4Plus.pdp.XacmlPDP
public class XacmlPDP
Constructor Summary | |
---|---|
XacmlPDP()
Creates a new instance of XacmlPDP |
Method Summary | |
---|---|
Decision |
canAccess(RequestEntities requestEntities,
NonRequestEntities nonReqEntities)
this method is used to decide whether the requestor can access the resource. |
Decision |
canAdminister(RequestEntities requestEntities,
NonRequestEntities nonReqEntities)
|
void |
close()
|
java.util.HashSet |
getAction(org.w3c.dom.NodeList list)
this method is used to get a set of Attribute objects from a given list. |
org.w3c.dom.Element |
getAttributes()
this method is used to get all of the coordination attributes in the policy. |
java.util.HashSet |
getEnvironment(org.w3c.dom.NodeList list)
this method is used to get a set of Attribute objects from a given list. |
java.util.HashSet |
getResource(org.w3c.dom.NodeList list)
this method is used to get a set of Attribute objects from a given list. |
org.w3c.dom.Element |
getResponse()
return the response of a decision making. |
java.util.HashSet |
getSubject(org.w3c.dom.NodeList list)
this method is used to get a set of com.sun.xacml.ctx.Subject objects from a given list. |
void |
initialize(java.lang.String chainName,
java.lang.String prefix,
ChainConfig config)
this method is used to initialise the Xacml PDP. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XacmlPDP()
Method Detail |
---|
public Decision canAccess(RequestEntities requestEntities, NonRequestEntities nonReqEntities) throws AuthorizationException
requestEntities
- represents the request attributes.nonReqEntities
- represents none request attributes.
AuthorizationException
public Decision canAdminister(RequestEntities requestEntities, NonRequestEntities nonReqEntities) throws AuthorizationException
AuthorizationException
public void initialize(java.lang.String chainName, java.lang.String prefix, ChainConfig config) throws InitializeException
chainName
- denotes the service name, which is protected by the PDP.prefix
- denotes the scope of the Xacml PDP.config
- passes the properties which are configured in the security descriptor
InitializeException
public void close() throws CloseException
CloseException
public java.util.HashSet getSubject(org.w3c.dom.NodeList list) throws AuthorizationException
list
- is the given list.
AuthorizationException
public java.util.HashSet getResource(org.w3c.dom.NodeList list) throws AuthorizationException
list
- is the given list.
AuthorizationException
public java.util.HashSet getAction(org.w3c.dom.NodeList list) throws AuthorizationException
list
- is the given list.
AuthorizationException
public java.util.HashSet getEnvironment(org.w3c.dom.NodeList list) throws AuthorizationException
list
- is the given list.
AuthorizationException
public org.w3c.dom.Element getResponse()
public org.w3c.dom.Element getAttributes() throws InitializeException
InitializeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |