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

[FR] Resolve security manager issue, access denied on ReflectPermission #21510

Merged
merged 4 commits into from
May 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,10 @@ respectively
- Renamed model `OperationResult` to `FormRecognizerOperationResult`
- Changed param ordering for methods `beginRecognizeCustomForms` and `beginRecognizeCustomFormsFromUrl`

### Key Bug Fixes
- Fixed `getFields()` to preserve service side ordering of fields.

### Bug Fixes
- When using a security policy with `SecurityManager` turns on, it no longer throws the access denied error on
`java.lang.reflect.ReflectPermission`. More information on https://github.com/Azure/azure-sdk-for-java/issues/17368

## 1.0.0-beta.4 (2020-07-07)
### Breaking Changes
- `beginRecognizeReceipt` APIs now return a `RecognizedForm` model instead of a `RecognizedReceipt`. See
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public SerializerAdapter getSerializerAdapter() {
*/
@Host("{endpoint}/formrecognizer/{ApiVersion}")
@ServiceInterface(name = "FormRecognizerClient")
private interface FormRecognizerClientService {
public interface FormRecognizerClientService {
@Post("/custom/models")
@ExpectedResponses({201})
@UnexpectedResponseExceptionType(ErrorResponseException.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ models-subpackage: implementation.models
context-client-method-parameter: true
custom-types-subpackage: models
custom-types: LengthUnit
service-interface-as-public: true
```