Skip to content

Commit

Permalink
Added attributePrefix support.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmische committed Feb 21, 2014
1 parent 1ee5540 commit 52fae56
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.2.2

* Added `node['shibboleth-sp']['attributePrefix']` attribute.

## 0.2.1

* Added `node['shibboleth-sp']['Handler']['MetadataGenerator']['childElements']` attribute.
Expand Down
1 change: 1 addition & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
default['shibboleth-sp']['entityID'] = "https://#{node['fqdn']}/shibboleth"
default['shibboleth-sp']['REMOTE_USER'] = "eppn persistent-id targeted-id"
default['shibboleth-sp']['sign-messages'] = "false"
#default['shibboleth-sp']['attributePrefix'] = "AJP_"
default['shibboleth-sp']['Sessions']['checkAddress'] = "false"
default['shibboleth-sp']['Sessions']['cookieProps'] = "; path=/; HttpOnly"
default['shibboleth-sp']['Sessions']['handlerSSL'] = "false"
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
maintainer_email "[email protected]"
license "Apache 2.0"
description "Installs/Configures Shibboleth Service Provider"
version "0.2.1"
version "0.2.2"
recipe "shibboleth-sp", "Installs and enables base Shibboleth Service Provider."
recipe "shibboleth-sp::apache", "Base recipe and Apache handling."
recipe "shibboleth-sp::iis", "Base recipe and IIS handling."
Expand Down
4 changes: 3 additions & 1 deletion templates/default/shibboleth2.xml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@

<!-- The ApplicationDefaults element is where most of Shibboleth's SAML bits are defined. -->
<ApplicationDefaults entityID="<%= node['shibboleth-sp']['entityID'] %>"
REMOTE_USER="<%= node['shibboleth-sp']['REMOTE_USER'] %>" signing="<%= node['shibboleth-sp']['sign-messages'] %>">
REMOTE_USER="<%= node['shibboleth-sp']['REMOTE_USER'] %>"
signing="<%= node['shibboleth-sp']['sign-messages'] %>"<% if node['shibboleth-sp']['attributePrefix'] -%>
attributePrefix="<%= node['shibboleth-sp']['attributePrefix'] %>"<% end -%>>

<!--
Controls session lifetimes, address checks, cookie handling, and the protocol handlers.
Expand Down

0 comments on commit 52fae56

Please sign in to comment.