I want to create user authentication (login) and security page in jsf, that manages us开发者_StackOverflow社区er access in my program.
I need a sample or tutorial about that - can you suggest or provide one?If you are using Spring, you could take a look at Spring Security. It is a very flexible framework for user authentication:
http://static.springsource.org/spring-security/site/
For glassfish: https://blogs.oracle.com/foo/entry/mort_learns_jdbc_realm_authentication. If you want to use form based authentication, read the security part of the jee6 tutorial.
精彩评论