@CanIgnoreReturnValue
    public BaseDelegatingExpirationPolicy addPolicy(final ExpirationPolicy policy) {
        LOGGER.trace("Adding expiration policy [{}] with name [{}]", policy, policy.getName());
        this.policies.put(policy.getName(), policy);
        return this;
    }
Add policy.

@param policy the policy
@return the base delegating expiration policy
core/cas-server-core-tickets-api/src/main/java/org/apereo/cas/ticket/expiration/BaseDelegatingExpirationPolicy.java