Question

I'm trying to make a java web application in netbeans. This project must contain jsp pages and the user must have the possibility to log in. I have no idea how to make the login mechanism. I'm using IDE netbeans , glassfish server and hibernate to connect with my mysql database.

Was it helpful?

Solution

You can accomplish your goal with Apache Shiro. This project makes it easy to implement the login mechanism that you are looking for. The "Website Login Demo" link below shows a complete demonstration. The project code offers an example as well.

See:

Apache Shiro Website Login Example

Apache Shiro Web Support Docs

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top