On Sat, Apr 21, 2012 at 22:45, Priya S <[email protected]> wrote:
> Now I have an instance of my existing dspace (customized) in my laptop
> instead of fresh installation of dspace.  I would like to know in which
> directory I should have the program PasswordAuthentication.java (which I got
> it from the URL which u mentioned earlier) to test it. Could you pls let me
> know?.

1) rename it to MyAuthentication.java
2) change all references of PasswordAuthentication to MyAuthentication
within the file
3) put it to [dspace-src]/dspace-api/src/main/java/org/dspace/authenticate/
4) run mvn package and ant update
5) in dspace configuration, change
plugin.sequence.org.dspace.authenticate.AuthenticationMethod to
include MyAuthentication
6) restart tomcat

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-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to