Class SecretKeysConfigSourceInterceptor

java.lang.Object
io.smallrye.config.SecretKeysConfigSourceInterceptor
All Implemented Interfaces:
ConfigSourceInterceptor, Serializable

@Priority(3100) public class SecretKeysConfigSourceInterceptor extends Object implements ConfigSourceInterceptor
Intercept the resolution of a configuration name and throw SecurityException if the name is a Secret Key and the keys are locked.

To avoid having to recalculate the list of property names, the filter of secret keys is applied in SmallRyeConfig.ConfigSources.PropertyNames, so this interceptor does not implement ConfigSourceInterceptor.iterateNames(ConfigSourceInterceptorContext).

See Also: