|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.xacml.SimplePDP
public class SimplePDP
Constructor Summary | |
---|---|
SimplePDP()
Creates a new instance of SimplePDP |
|
SimplePDP(java.lang.String[] files)
Creates a new instance of SimplePDP with policy files |
Method Summary | |
---|---|
ResponseCtx |
evaluate(java.lang.String requestFile)
This method makes an authorisation decision based on the request contest, which is represented as a file |
PermisRBAC |
getPDP()
This method returns the constructed PermisRBAC (PDP) |
ResponseCtx |
getResponseCtxFrom(org.w3c.dom.Element decision)
This method returns an XACML ResponseCtx object from an XML representation for a decision making |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimplePDP() throws java.lang.Exception
java.lang.Exception
public SimplePDP(java.lang.String[] files) throws java.lang.Exception
files
- is an array of file names, the first file must be a Permis configuration file
java.lang.Exception
Method Detail |
---|
public ResponseCtx evaluate(java.lang.String requestFile) throws java.lang.Exception
requestFile
- is a file name
java.lang.Exception
public PermisRBAC getPDP()
public ResponseCtx getResponseCtxFrom(org.w3c.dom.Element decision) throws java.lang.Exception
decision,
- which is an XML representation of the decision making
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |