This discussion is archived
1 Reply Latest reply: Nov 10, 2013 11:36 PM by StefanOEG RSS

Configuring XACML authorization in OAG

user10481716 Newbie
Currently Being Moderated

Hi,

I am trying to configure XACML PEP filter in OAG and using OES as a PDP. I think I am missing something when configuring this filter.

 

When running a test in API Gateway Explorer I can't get authorization. Looking at the traffic in the OAG Manager, I found HTTP Basic succeeded but XACML PEP filter  failed, with the following Error message:

 

java exception: java.io.IOException: No XML body at com.vordel.mime.XMLBody.locate(XMLBody.java:110) at com.vordel.mime.XMLBody.getDocument(XMLBody.java:86) at com.vordel.circuit.httpclient.XACMLPEPProcessor.processResponse(XACMLPEPProcessor.java:405) at com.vordel.circuit.httpclient.HTTPClientProcessor.invoke(HTTPClientProcessor.java:95) at com.vordel.circuit.InvocationEngine.invokeFilter(InvocationEngine.java:160) at com.vordel.circuit.InvocationEngine.invokeCircuit(InvocationEngine.java:52) at com.vordel.circuit.InvocationEngine.processMessage(InvocationEngine.java:241) at com.vordel.circuit.SyntheticCircuitChainProcessor.invoke(SyntheticCircuitChainProcessor.java:36) at com.vordel.dwe.http.HTTPPlugin.invokeDispose(HTTPPlugin.java:300) at com.vordel.dwe.http.HTTPPlugin.invoke(HTTPPlugin.java:166) Caused by: java.lang.ClassCastException: com.vordel.mime.RawBody cannot be cast to com.vordel.mime.XMLBody at com.vordel.mime.XMLBody.locate(XMLBody.java:106) ... 9 more

 

Any help will be appreciated.

Thanks in advance. Regards.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points