On Wed, Apr 25, 2012 at 13:39, Priya S <priya579...@googlemail.com> wrote:
> If I want to use a table Tperson instead of eperson, is it enough if i
> replace eperson with Tperson in PasswordAuthentication.java?.

Definitely not, that's a variable name, not a table name.
One approach is to derive a class from EPerson
(dspace-api/src/main/java/org/dspace/eperson/EPerson.java) and replace
the table name inside it. Then include your derived class in
PasswordAuthentication instead of EPerson.

Another approach is to do any extra database calls you need directly
in PasswordAuthentication.java.

Remember that if you want to connect to a database on a different
machine, you need to change the context given to DatabaseManager
accordingly.

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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to