How to encrypt and decrypt OSGI config values

First, we have to make a service configuration by using the code given below. In this code I am showing you the normal way to show osgi config value. @Component(service = TestService.class, immediate = true) @Designate(ocd = TestService.TestConfig.class) public class TestService {    @ObjectClassDefinition(name = “TestConfig”, description = “This is the test config”)    public @interface TestConfig […]

Read More