public class ApplicationValidator extends Object
Constructor and Description |
---|
ApplicationValidator(Utils utils) |
Modifier and Type | Method and Description |
---|---|
void |
validate(ApplicationDTO application,
String preMigrationStep) |
void |
validateAppThirdPartyKMUsage(ApplicationDTO application)
Validates if an application is using third party kep managers and logs warnings.
|
protected Utils utils
public ApplicationValidator(Utils utils)
public void validate(ApplicationDTO application, String preMigrationStep)
public void validateAppThirdPartyKMUsage(ApplicationDTO application)
Checks is keys are generated for an application in the AM_APPLICATION_KEY_MAPPING table and if keys are generated IDN_OAUTH_CONSUMER_APPS table is checked to see if a record exists.
If no record exists, a warning is displayed to reconfigure third party key managers for the newest version.
Only migrations from 2.x, 3.0.0 and 3.1.0 versions are validated.
application
- application to be validated.Copyright © 2024 WSO2. All rights reserved.