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 TypeMethodDescriptionvoid
VaultSysOperations.createOrUpdatePolicy
(String name, Policy policy) Create or update aPolicy
.void
VaultSysTemplate.createOrUpdatePolicy
(String name, Policy policy) -
Uses of Policy in org.springframework.vault.support
Methods in org.springframework.vault.support that return PolicyModifier and TypeMethodDescriptionstatic Policy
Policy.empty()
Create an emptyPolicy
without rules.static Policy
Policy.of
(Set<Policy.Rule> rules) Create aPolicy
from one or morerules
.static Policy
Policy.of
(Policy.Rule... rules) Create aPolicy
from one or morerules
.Policy.with
(Policy.Rule rule) Create a newPolicy
object containing all configured rules and add the givenPolicy.Rule
to the new policy object.