-
- Downloads
Merge branch 'test-fix' into 'master'
Fix bug with non-HTTP Shib sessions being valid for HTTP sessions Previously, the `PreauthUserDetailsProvider` was only checking that a valid Shib session existed by looking for the regular or HTTP Shib session header. This check is now strengthened by validating the correct header exists for the correct instance. Also renamed and changed some things in the `Preauth` test--it's now called `HTTPPreauthUserDetailsProviderTest` to reflect the fact that it's only testing the HTTP version of `Preauth`. Along those same lines, the test user now uses the HTTP headers and has been renamed to `testuser_http.json`. Please review: @ahoffmann See merge request !7
No related branches found
No related tags found
Showing
- composer.json 1 addition, 1 deletioncomposer.json
- src/main/edu/wisc/doit/FederatedPreauthUserDetailsProvider.php 2 additions, 2 deletions...ain/edu/wisc/doit/FederatedPreauthUserDetailsProvider.php
- src/test/edu/wisc/doit/HTTPFederatedPreauthUserDetailsProviderTest.php 79 additions, 0 deletions...wisc/doit/HTTPFederatedPreauthUserDetailsProviderTest.php
- src/test/edu/wisc/doit/LocalUserDetailsProviderTest.php 1 addition, 1 deletionsrc/test/edu/wisc/doit/LocalUserDetailsProviderTest.php
- src/test/resources/localuser.json 1 addition, 2 deletionssrc/test/resources/localuser.json
- src/test/resources/testuser_http.json 16 additions, 0 deletionssrc/test/resources/testuser_http.json
Loading
Please register or sign in to comment