Uses of Class
org.springframework.vault.support.Policy
Package
Description
Vault core support.
Classes supporting the Vault packages, such as value objects.
-
Uses of Policy in org.springframework.vault.core
Modifier 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
Modifier 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.