Skip to content

Commit

Permalink
Add dynamic preauthenticated config (#477)
Browse files Browse the repository at this point in the history
* Update rundeck-config.erb
  • Loading branch information
Joris29 authored Sep 20, 2021
1 parent 2db13ce commit 395a3fa
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions templates/rundeck-config.erb
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,9 @@ rundeck.storage.converter."1".<%= k %> = "<%= v %>"
<%- end -%>
<%- end -%>
rundeck.security.authorization.preauthenticated.enabled = "<%= @preauthenticated_config['enabled']%>"
rundeck.security.authorization.preauthenticated.attributeName = "<%= @preauthenticated_config['attributeName']%>"
rundeck.security.authorization.preauthenticated.delimiter = "<%= @preauthenticated_config['delimiter']%>"
rundeck.security.authorization.preauthenticated.userNameHeader = "<%= @preauthenticated_config['userNameHeader']%>"
rundeck.security.authorization.preauthenticated.userRolesHeader = "<%= @preauthenticated_config['userRolesHeader']%>"
rundeck.security.authorization.preauthenticated.redirectLogout = "<%= @preauthenticated_config['redirectLogout']%>"
rundeck.security.authorization.preauthenticated.redirectUrl = "<%= @preauthenticated_config['redirectUrl']%>"
<%- @preauthenticated_config.each do |k,v| -%>
rundeck.security.authorization.preauthenticated.<%= k %> = "<%= v %>"
<%- end -%>
<%- @gui_config.sort.each do |k,v| -%>
<%= k %> = "<%= v %>"
Expand Down

0 comments on commit 395a3fa

Please sign in to comment.