-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Secure Parser for Unmarshalling SP File Content #3472
Conversation
|
PR builder started |
| + Constants.EXTERNAL_PARAMETER_ENTITIES_FEATURE + " or " + Constants.LOAD_EXTERNAL_DTD_FEATURE | ||
| + " or secure-processing."); | ||
| } | ||
| //Creating source object using the secure parser |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| //Creating source object using the secure parser | |
| // Creating source object using the secure parser. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed with 9dcda46
| //Creating source object using the secure parser | ||
| Source xmlSource = new SAXSource(spf.newSAXParser().getXMLReader(), | ||
| new InputSource(new StringReader(spFileContent.getContent()))); | ||
| //Performing unmarshall operation by passing the generated source object to the unmarshaller |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| //Performing unmarshall operation by passing the generated source object to the unmarshaller | |
| // Performing unmarshall operation by passing the generated source object to the unmarshaller. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed with 9dcda46
|
PR builder completed |
|
PR builder started |
|
PR builder completed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving the pull request based on the successful Jenkins job https://jenkins-support-all.wso2.com/jenkins/job/DEV_PR_BUILDER/1207/, started by ,
Proposed changes in this pull request
Approach
Related PRs
https://github.com/wso2-support/carbon-identity-framework/pull/1550