Skip to content

Commit

Permalink
Expose login.saml.signatureAlgorithm.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Coffield authored and fhanik committed Oct 12, 2016
1 parent ba601cf commit aaab7a7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jobs/uaa/spec
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,9 @@ properties:
login.saml.wantAssertionSigned:
description: "Global property to request that external IDPs sign their SAML assertion before sending them to the UAA"
default: false
login.saml.signatureAlgorithm:
description: "Signature hashing algorithm for SAML. Can be SHA1, SHA256, or SHA512."
example: SHA256
login.url:
description: |
Set if you have an external login server.
Expand Down
1 change: 1 addition & 0 deletions jobs/uaa/templates/login.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
add_value(params, p('login.saml.signMetaData'), 'login', 'saml', 'signMetaData') if p_opt('login.saml.signMetaData')
add_value(params, p('login.saml.signRequest'), 'login', 'saml', 'signRequest') if p_opt('login.saml.signRequest')
add_value(params, p('login.saml.wantAssertionSigned'), 'login', 'saml', 'wantAssertionSigned')
if_p('login.saml.signatureAlgorithm') { |alg| add_value(params, alg, 'login', 'saml', 'signatureAlgorithm') }

if_p('login.saml.providers') do |samlProviders|
samlProviders.reject {|k,_| k.to_s == ''}.each do |idpAlias,idpProvider|
Expand Down
1 change: 1 addition & 0 deletions spec/compare/bosh-lite-login.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ login:
signMetaData: true
signRequest: true
wantAssertionSigned: false
signatureAlgorithm: SHA256
socket:
connectionManagerTimeout: 10000
soTimeout: 10000
Expand Down
1 change: 1 addition & 0 deletions spec/input/bosh-lite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,7 @@ properties:
protocol:
restricted_ips_regex:
saml:
signatureAlgorithm: SHA256
providers:
okta-signed-or-encrypted:
idpMetadata: |
Expand Down

0 comments on commit aaab7a7

Please sign in to comment.