2

I would like to use form-based authentication as outlined in the book JavaServer Faces (O'REILLY). But instead of letting Tomcat manage the users, I would like to manage them myself: store them in a database etc. Can anyone give me a few pointers?

Thanks in advance!

1 Answer 1

2

simple example

http://www.developer.com/java/data/article.php/3335001/BASIC-and-FORM-based-Authorization-in-Your-Web-Application.htm

Apache Documentation

http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#Standard_Realm_Implementations

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks! Just what I was looking for. I suppose I have to implement my own realm. I am using Hibernate. Any pointers for that?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.