nina joseph wrote:
> Hi all,
>   I want to block the login after 3 unsuccessful login attempts. Can somebody 
> suggest me how to do that with dspace? Or in which file I can write a code to 
> handle that?
>   

One way of doing it: -

Modify org.dspace.app.webui.servlet.PasswordServlet.java, adding a 
session attribute that increments on every failed attempt (at the bottom 
of the file) and a checking clause that automatically fails login (or 
forwards to a new page).

Best regards,
jim

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to