Hi Lohit,

I can tell you how I would start. I'd make a copy of the
IPAuthentication class (let's call it ProxyAuthentication), search and
replace for IPAuthentication to ProxyAuthentication. Then change
getSpecialGroups() method to check for
HttpServletRequest.getRemoteUser() instead of request.getRemoteAddr().

When done, build and deploy. Don't forget to set
"plugin.sequence.org.dspace.authenticate.AuthenticationMethod" to
"org.dspace.authenticate.ProxyAuthentication" in
[dspace]/config/modules/authentication.cfg and restart Tomcat.

BTW, this is not XMLUI-specific, so it will work in all interfaces
(with the possible exception of SWORD).

If you run into any problems with that, give us a shout.

Regards,
~~helix84

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to