Skip to content

TRUNK-6188 Upgrade xstream and migrate to whitelisting#8

Open
rkorytkowski wants to merge 1 commit intoopenmrs:masterfrom
rkorytkowski:TRUNK-6188
Open

TRUNK-6188 Upgrade xstream and migrate to whitelisting#8
rkorytkowski wants to merge 1 commit intoopenmrs:masterfrom
rkorytkowski:TRUNK-6188

Conversation

@rkorytkowski
Copy link
Member

@rkorytkowski rkorytkowski commented Sep 1, 2023

}
try {
MethodUtils.invokeExactStaticMethod(SimpleXStreamSerializer.class,
"setupXStreamSecurity", xstream, adminService);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use reflection as this method will be only available in the latest openmrs-core and we want this module to continue to support older versions (even though they may not be fully secured).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant