Reputation: 1
I'm writing my master-these and i have some problemes with the PDP evaluation of request. I use sunxacml:2.0 in java. when i define a request and evalue it with PDP the response is NotApplicable but when i define a request and encoding in file and i define another request through the encoding's file, the response of the evaluation for this request is permit or deny.
Question: with sunxacml:2.0, the request should always encoding ? or how can i do it?
Resquest request= new Request(Set subjects, Set Resource, Set action, Set environment); request.encoding(FileOutputStream file); pdp.evalue(request)-> response: Notapplicable RequestCtx req=RequestCtx.getInstance(new FileInputStream(file)) pdp.evalue(req)-> response: permit or deniy
Upvotes: 0
Views: 64