private void decryptEndpointProperties ( ApiVersionBean versionBean ) { Map < String , String > endpointProperties = versionBean . getEndpointProperties ( ) ; if ( endpointProperties != null ) { for ( Entry < String , String > entry : endpointProperties . entrySet ( ) ) { DataEncryptionContext ctx = new DataEncryptionContext ( versionBean . getApi ( ) . getOrganization ( ) . getId ( ) , versionBean . getApi ( ) . getId ( ) , versionBean . getVersion ( ) , EntityType . Api ) ; entry . setValue ( encrypter . decrypt ( entry . getValue ( ) , ctx ) ) ; } } }
Decrypt the endpoint properties