Uses of Class
org.springframework.vault.support.Policy
Packages that use Policy
Package
Description
Vault core support.
Classes supporting the Vault packages, such as value objects.
-
Uses of Policy in org.springframework.vault.core
Methods in org.springframework.vault.core that return PolicyMethods in org.springframework.vault.core with parameters of type PolicyModifier and TypeMethodDescriptionvoidVaultSysOperations.createOrUpdatePolicy(String name, Policy policy) Create or update aPolicy.voidVaultSysTemplate.createOrUpdatePolicy(String name, Policy policy) -
Uses of Policy in org.springframework.vault.support
Methods in org.springframework.vault.support that return PolicyModifier and TypeMethodDescriptionstatic PolicyPolicy.empty()Create an emptyPolicywithout rules.static PolicyPolicy.of(Set<Policy.Rule> rules) Create aPolicyfrom one or morerules.static PolicyPolicy.of(Policy.Rule... rules) Create aPolicyfrom one or morerules.Policy.with(Policy.Rule rule) Create a newPolicyobject containing all configured rules and add the givenPolicy.Ruleto the new policy object.