Skip to content

Commit b2f182c

Browse files
committed
B-47914: add token-cache-timeout to Repose config
1 parent 0dc23aa commit b2f182c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

manifests/filter/client_auth_n.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
$white_lists = undef,
7171
$delegable = false,
7272
$tenanted = false,
73+
$token_cache_timeout = undef,
7374
$group_cache_timeout = '60000',
7475
$connection_pool_id = undef,
7576
) {

templates/client-auth-n.cfg.xml.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<client-auth xmlns="http://docs.rackspacecloud.com/repose/client-auth/v1.0">
4-
<openstack-auth delegable="<%= @delegable %>" tenanted="<%= @tenanted %>" group-cache-timeout="<%= @group_cache_timeout %>" <% if @connection_pool_id %>connectionPoolId="<%= @connection_pool_id %>"<% end %> xmlns="http://docs.openrepose.org/repose/client-auth/os-ids-auth/v1.0">
4+
<openstack-auth delegable="<%= @delegable %>" tenanted="<%= @tenanted %>" group-cache-timeout="<%= @group_cache_timeout %>" <% if @connection_pool_id %>connectionPoolId="<%= @connection_pool_id %>"<% end %> <% if @token_cache_timeout %>token-cache-timeout="<%= @token_cache_timeout %>"<% end %> xmlns="http://docs.openrepose.org/repose/client-auth/os-ids-auth/v1.0">
55
<identity-service username="<%= @auth['user'] -%>" password="<%= @auth['pass'] -%>" uri="<%= @auth['uri'] -%>" />
66
<%- if @client_maps -%>
77
<% @client_maps.each do |client_map| -%>

0 commit comments

Comments
 (0)