Hi IS Team,
ESB 4.8.1 M1 pack built today with IS 4.6.0 (released)
This is reproducible, seems like now response wrap
with urn:oasis:names:tc:xacml:3.0:core:schema:wd-17 and no longer
if(decisionString != null){
OMElement decisionElement =
AXIOMUtil.stringToOM(decisionString);
* simpleDecision = decisionElement.getFirstChildWithName(new
QName("Result")).getFirstChildWithName(new QName("Decision")).getText();*
obligations = decisionElement.getFirstChildWithName(new
QName("Obligations"));
advice = decisionElement.getFirstChildWithName(new
QName("AdviceExpressions"));
if(log.isDebugEnabled()){
log.debug("Entitlement Decision is : " +
simpleDecision);
}
it suppose to be
*decisionElement.getFirstChildWithName(new
QName("urn:oasis:names:tc:xacml:3.0:core:schema:wd-17","Result")) or may be
we might have to test both..*
So, IS team please review this and do any necessary changers to
Entitlement Mediator, this a BLOCKER and required your attention.
New Response Type..
<Response
xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17"><Result><Decision>NotApplicable</Decision><Status><StatusCode
Value="urn:oasis:names:tc:xacml:1.0:status:ok"></StatusCode></Status></Result></Response>
Cheers,
Dushan Abeyruwan | Associate Tech Lead
Integration Technologies Team
PMC Member Apache Synpase
WSO2 Inc. http://wso2.com/
Blog:http://dushansview.blogspot.com/
Mobile:(0094)713942042
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev