[JBoss-user] [Security & JAAS/JBoss] - Re: Prinicpal = null
I got it to work. Instead using my servlet to login, i use Username: Password: View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869793#3869793 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869793 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Prinicpal = null
| | | Username: | | | | Password: | | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869797#3869797 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869797 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Prinicpal = null
The problem is that this cannot work. The jaas login only affects the current calling thread for subsequent access to secured resources. It does not magically inform the web container that all sendRedirects should be trusted. This is impossible in general as its the web client that has to provide the identity and proof of identity and the form depends on the authentication scheme selected by the war deployment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869805#3869805 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869805 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Prinicpal = null
what would be the best practice for using JAAS model in web application? If I don't want to use j_security_check in the jsp form for user to log in, and I wouldn't want to save the username and password in session to do the authentication everytime, can anyone point me to the right direction? | public void MasterServlet extends HttpServlet{ | | public abstract void onService(HttpServletRequest request, HttpServletResponse response); | | public void service(HttpServletRequest request, HttpServletResponse response){ | |doSecurityCheck(); // this is where I do authentication |onService(); | } | | } | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869844#3869844 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869844 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Prinicpal = null
HI, i have problem with security domain, can help me, i have logged in successfully, afterward, i am trying call EJB, its saying user name and password null in DatabaseServerLoginModule's login method, If you can you help, i am using MYSQL as Database and Cocoon actions are action class .. Please, Ram View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881246#3881246 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881246 --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Prinicpal = null
http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ http://sourceforge.net/docman/display_doc.php?docid=18240&group_id=22866 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881804#3881804 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881804 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user