wso2 / carbon-device-mgt

Apache License 2.0
53 stars 113 forks source link

Fix OAuth2ScopeValidator Issues #1217

Closed lasanthaDLPDS closed 6 years ago

lasanthaDLPDS commented 6 years ago

Purpose

Due to the version bumping of the identity component, there were some references to the deprecated methods. Hence removed those and referred approved methods. In addition to that, to compatible with WSO2 cording standards, reformat the source as well.

Goals

We had called "isCacheEnabled" of the "OAuthServerConfiguration" class to check whether the cache is enabled or not. Since it is a deprecated method, used OAuthCache class to check whether cache enables or not. In addition to that, "TokenManagementDAOImpl" class is referred instead of "TokenMgtDAO" class.

Approach

N/A

User stories

N/A

Release note

N/A

Documentation

N/A

Training

N/A

Certification

N/A

Marketing

N/A

Automation tests

Security checks

Samples

N/A

Related PRs

N/A

Migrations (if applicable)

N/A

Test environment

N/A

Learning

N/A