-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add Access Helper to JacksonAdapter #25004
Add Access Helper to JacksonAdapter #25004
Conversation
API changes have been detected in API changes + public static void setAccessHelper(Function<Callable<Object>, Object> accessHelper) |
Another potential solution to this, which prevents changes to the public API, would be an environment configuration which points to a fully qualified Method to be used as the access helper. Ex, |
API changes have been detected in API changes - public static synchronized SerializerAdapter createDefaultSerializerAdapter()
+ public static SerializerAdapter createDefaultSerializerAdapter() |
API changes have been detected in API changes - public static synchronized SerializerAdapter createDefaultSerializerAdapter()
+ public static SerializerAdapter createDefaultSerializerAdapter() |
sdk/core/azure-core/src/main/java/com/azure/core/util/serializer/JacksonAdapter.java
Show resolved
Hide resolved
sdk/core/azure-core/src/main/java/com/azure/core/util/serializer/JacksonAdapter.java
Show resolved
Hide resolved
[Hub Generated] Review request for Microsoft.AzureStackHCI to add version stable/2023-06-01 (Azure#25004) * Adds base for updating Microsoft.AzureStackHCI from version stable/2023-03-01 to version 2023-06-01 * Updates readme * Updates API version in new specs and examples * Added changes for `2023-06-01` * Added `x-ms-identifiers` * Fixed prettier issue --------- Co-authored-by: Prateek Prasher <[email protected]>
This PR adds a new configuration flag to JacksonAdapter which enables support for JacksonAdapter to use it's security permissions when making serialization calls. This helps resolve scenarios where an external application using an Azure SDK doesn't have reflective permissions that JacksonAdapter does.