- Aug 22, 2016
-
-
Nicholas Blair authored
feat: new LocalUserDetailsLoader for populating local-users store New optional user interface for populating the LocalUserDetailsManagerImpl instance provided in the `local-users` profile. The default configuration will still use the existing `LocalUserDetailsAttributesMapper.Default` implementation. To switch to the new loader, set the `edu.wisc.uwss.local.userDetailsLoader.enabled` Environment property to true. The default resource loaded is edu/wisc/uwss/local/local-users.json (classpath), to change that location set the `edu.wisc.uwss.local.userDetailsLoader.resource` Environment property to a valid Spring Resource expression ('classpath:', 'file:', etc). cc: @ahoffmann @paul.erickson @bhill6 @lyle @andrew-summers @apatwary @cknuth See merge request !19
-
Nicholas Blair authored
Clean up stale javadocs.
-
Nicholas Blair authored
The same ObjectMapper instance with a YAMLFactory can load both YAML and JSON.
- Aug 18, 2016
-
-
Nicholas Blair authored
-
Nicholas Blair authored
New optional user interface for populating the LocalUserDetailsManagerImpl instance provided in the 'local-users' profile. The default configuration will still use the existing LocalUserDetailsAttributesMapper.Default implementation. To switch to the new loader, set the 'edu.wisc.uwss.local.userDetailsLoader.enabled' Environment property to true. The default resource loaded is edu/wisc/uwss/local/local-users.json (classpath), to change that location set the 'edu.wisc.uwss.local.userDetailsLoader.resource' Environment property to a valid Spring Resource expression ('classpath:', 'file:', etc).
-
- Aug 03, 2016
-
-
Nicholas Blair authored
-
- Jul 11, 2016
-
-
Paul Erickson authored
-
Paul Erickson authored
Fix incorrect default header values for SPVI and UDDS @apatwary @npblair @bjsousa @alundholm See merge request !18
-
Paul Erickson authored
-
- Jul 07, 2016
-
-
Nicholas Blair authored
-
Nicholas Blair authored
fix: clone constructor now properly copies first/last name Tiny bug fix. @cknuth @paul.erickson @andrew-summers @bjsousa @apatwary See merge request !17
-
Nicholas Blair authored
-
- Jun 28, 2016
-
-
Benjamin Sousa authored
-
Benjamin Sousa authored
Define userName variable distinct from eppn in federated mapper This change is motivated by the need to set userName to a value other than default value of eppn for federated preauthenticated users. The intended use case is UW Digital ID, where we plan to use SPVI as the username for the purposes of the RequestOnBehalfOfFilter. @paul.erickson @bkeen @npblair See merge request !16
-
Benjamin Sousa authored
-
Benjamin Sousa authored
-
- Jun 24, 2016
-
-
Benjamin Sousa authored
-
- Jun 08, 2016
-
-
Nicholas Blair authored
-
Nicholas Blair authored
fix: correct configuration to activate federation attributemapper We can't just decorate the `FederatedPreauthenticatedUserDetailsAttributesMapper` with @Component, because the package edu.wisc.uwss.preauth isn't @ComponentScan'ned (edu.wisc.uwss.configuration.preauth is, by design). Corrected the logger for the Federated attributesmapper, it was incorrectly using the Default implementation (so you couldn't tell which class was lgogging). Added a Maven profile to help test: combined-simulate-federation. Ping: @paul.erickson @ahoffmann @cknuth See merge request !15
-
Nicholas Blair authored
-
- Jun 07, 2016
-
-
Nicholas Blair authored
We can't just decorate with @Component, because the package edu.wisc.uwss.preauth isn't @ComponentScan'ned (edu.wisc.uwss.configuration.preauth is). Corrected the logger for the Federated attributesmapper, it was incorrectly using the Default implementation (so you couldn't tell which class was lgogging). Added a Maven profile to help test: combined-simulate-federation.
-
- Jun 06, 2016
-
-
Benjamin Sousa authored
-
Benjamin Sousa authored
Add preauth mapper for UW System authenticated user. Bump to version 1.3.0 Creates an alternative to the default Preauth attributes mapper (which is UW-Madison focused) that is specific to the common attributes for an authenticated UW System user. Note that in the System context eppn replaces uid as the response for usernameHeader, because uid is no longer a meaningful identifier in a federated context where the bare uid might not be unique unless it's scoped to an individual campus. The more the merrier: @paul.erickson @ahoffmann See merge request !14
-
Benjamin Sousa authored
-
Benjamin Sousa authored
-
- May 24, 2016
-
-
Nicholas Blair authored
-
Nicholas Blair authored
Add support for deprecated mapping To add backwards compatibility, additional mappings were added in the Attribute mapping. Unit tests confirmed successful mapping. Please review: @npblair @paul.erickson @ahoffmann See merge request !13
-
Andrew Lundholm authored
-
- May 23, 2016
-
-
Andrew Lundholm authored
-
- May 19, 2016
-
-
Andrew Lundholm authored
-
- May 18, 2016
-
-
Nicholas Blair authored
-
Nicholas Blair authored
feat: Add optional REST Controller to simulate Shibboleth's session handler This pull requests adds an optional REST Controller to simulate a response that matches the exact JSON format of Shibboleth's session handler. Example: log in to https://test.my.wisc.edu. After completing login, visit https://test.my.wisc.edu/Shibboleth.sso/Session.json. This controller is not active by default; in order to add it, activate the Spring Profile named `edu.wisc.uwss.simulated-shibboleth`. Sample response for Amy Administrator: ``` { expiration: 480, client_address: "0:0:0:0:0:0:0:1", protocol: "urn:oasis:names:tc:SAML:2.0:protocol", identity_provider: "https://logintest.wisc.edu/idp/shibboleth", authn_instant: "2016-05-16T17:40:37.762", authncontext_class: "urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport", attributes: [ { name: "persistent-id", values: [ "https://logintest.wisc.edu/idp/shibboleth!https://fake.wisc.edu/shibboleth!thisis/fake/PE=" ] }, { name: "uid", values: [ "admin" ] }, { name: "pubcookie-user", values: [ "admin" ] }, { name: "wiscEduPVI", values: [ "UW000A000" ] } ] } ``` The idea for this came from a discussion with @levett. Also notify @timothy-vertein @andrew-petro See merge request !11
-