On Mon, Dec 3, 2012 at 1:51 PM, Wellaway, Ian <[email protected]> wrote:
> Thanks for this.
>
> It turns out that to make tomcat carry over the HHTPServerRequest, you have 
> to add the parameter tomcatAuthentication="false" to the ajp connector in 
> tomcat's server.xml config:
>
>     <!-- Define an AJP 1.3 Connector on port 8009 -->
>     <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" 
> URIEncoding="UTF-8" tomcatAuthentication="false" />
>
> Then, once you've logged in via your SSO, using request.getRemoteUser in the 
> authentication files (such as 
> org.dspace.authenticate.LDAPHierarchicalAuthentication.java) get's the 
> authenticated userID.


Good catch! Should we add this somewhere to the docs?

https://wiki.duraspace.org/display/DSDOC3x/Authentication+Plugins

If you write it up, I can add it. Or you can ask Tim Donohue for
editing rights if you have a Jira account.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to