Skip to content
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

Configure jackson ObjectMapper to work in secure environment #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nomoa
Copy link

@nomoa nomoa commented Jun 16, 2016

By default jackson requires supressAccessChecks permission to fix visilibity
on some members/constructors. This is not really needed in the context of
this project but can cause issues when joss is used with a SecurityManager:

  • wikimedia/search-repository-swift#20
  • wikimedia/search-repository-swift#21

By setting CAN_OVERRIDE_ACCESS_MODIFIERS to false jackson will not try to fix
access modifiers and will work in such environment.

By default jackson requires supressAccessChecks permission to fix visilibity
on some members/constructors. This is not really needed in the context of
this project but can cause issues when joss is used with a SecurityManager:
- wikimedia/search-repository-swift#20
- wikimedia/search-repository-swift#21

By setting CAN_OVERRIDE_ACCESS_MODIFIERS to false jackson will not try to fix
access modifiers and will work in such environment.
@synhershko
Copy link

Hi, what is the status of this?

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.

2 participants