This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm trying to make custom realm with jdbcrealm example. I can't understand how i can forward other information than requesr.getPrincipal().getName() to jsp page. I need to fecth groups and roles from database and use the in jsp-pages.
I have made my own SamplePrincipal that implements Principal, java.io.Serializable. If i try to add it to _subect.getPrincipals().add( myownprincipal) (_subject in parent class PasswordLoginModule), it gives me error in login:
info: for host 192.168.100.38 trying to GET /basic-auth/, service-j2ee reports: SEC5046: Audit: Authentication refused for [j2ee].
Please help me! Thanks!
Jari Timonen Software Designer
SCJP 5.0, SCJD URLyBird 1.3.3, OCMJEA 5 (SCEA) Factory Homes
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com