Hi all -

I appear to have been bitten by the bug submitted here:

https://jira.lyrasis.org/browse/DS-4139

Because I'm running DSpace from the root context, an extra slash is added 
to the return URL, based on this directive:

 if (!(port == 443 || port == 80))
     returnURL += ":" + port;
 returnURL += "/" + contextPath + "/shibboleth-login"; 

Under the circumstances, my contextPath is empty, so I  end up with 
https://myserver.edu//shiboleth-login, which means the authentication 
attributes never make it to DSpace (I think).

I'd like to add an if/else conditional test along the lines of if 
(contextPath == null || contextPath.length() == 0) returnURL += 
"/shibboleth-login"; else and then recompile the java class.

How can I do that and subsequently recompile and reinstall only this 
updated shibboleth authentication class?

Thanks,

- Dave Williams

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/f069abd0-a629-44af-baf0-7526818c0f01n%40googlegroups.com.

Reply via email to