OpenConext / Mujina

A mock IDP and SP using the OpenSAML library
Apache License 2.0
369 stars 166 forks source link

Allow changing the NameID Format via attributes. #46

Closed Villane closed 6 years ago

Villane commented 6 years ago

I want to code my SP to accept only certain NameID formats, thus I need to be able to change it for the mock identity provider. I thought the simplest way to do it might be via setting an attribute.

codecov-io commented 6 years ago

Codecov Report

Merging #46 into master will decrease coverage by 0.55%. The diff coverage is 57.14%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #46      +/-   ##
============================================
- Coverage        95%   94.44%   -0.56%     
- Complexity      142      143       +1     
============================================
  Files            25       25              
  Lines           480      486       +6     
  Branches          5        7       +2     
============================================
+ Hits            456      459       +3     
- Misses           21       23       +2     
- Partials          3        4       +1
Impacted Files Coverage Δ Complexity Δ
...na-idp/src/main/java/mujina/idp/SsoController.java 87.87% <57.14%> (-8.42%) 11 <0> (+1)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4ff652a...540e98e. Read the comment docs.