Adding configuration for resolving principal