Dspace LDAP finishing touches

The last bits of the puzzle.

  • Wanted to force users ths SSL port for login, but not necessarily for anything else
  • Wanted LDAP authenticated users forced into the UVM group, so that collections private to UVM could be accessed by NetID and password

Solution to both was found in SimpleAuthenticator.java and MITAuthenticator.java Combined both into UVMAutheticator.java, using MIT code to dynamically assign e-people with email addresses ending in @uvm.edu to the UVM group; and adding a new config value to dspace.cfg called sslURL. This new config value was concatenated to a URL string in the Authenticator code such that requests requiring authentication were redirected the https://badger.uvm.edu/ + servercontext

Now needed to change some text on authntication page. Text was hidden in [dspace-source]/config/language-pack/messages.properties . Fixed that, recompiled, redeployed, and viola!

About Wesley Wright

Born on a mountain top near New York City, Craziest state in the land of the pretty. Raised in the woods so's he knew every tree, Killed him a bear when he was only three.
This entry was posted in Dspace, Projects. Bookmark the permalink.

Leave a Reply