[jboss-jira] [JBoss JIRA] (SECURITY-176) Implement JBossRequestContext.asElement(Document)
Anil Saldhana (Commented) (JIRA)
jira-events at lists.jboss.org
Mon Nov 28 11:56:41 EST 2011
[ https://issues.jboss.org/browse/SECURITY-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646019#comment-12646019 ]
Anil Saldhana commented on SECURITY-176:
----------------------------------------
===========
private Node getResponse(InputStream is) throws Exception
{
String contextSchema = XACMLConstants.CONTEXT_SCHEMA;
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
- factory.setNamespaceAware(true);
+// factory.setNamespaceAware(true);
factory.setIgnoringComments(true);
Document doc = factory.newDocumentBuilder().parse(is);
NodeList nodes = doc.getElementsByTagNameNS(contextSchema, "Response");
================
You commented out the method call on the factory?
> Implement JBossRequestContext.asElement(Document)
> -------------------------------------------------
>
> Key: SECURITY-176
> URL: https://issues.jboss.org/browse/SECURITY-176
> Project: PicketBox (JBoss Security and Identity Management)
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: JBossXACML
> Affects Versions: 2.0.2-BETA6
> Reporter: Anil Saldhana
> Assignee: Anil Saldhana
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> If provided a Document, then create an element with the request details. Pretty cumbersome process.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list