5 Replies Latest reply on Aug 6, 2007 5:33 PM by krish p

    Moving away JBoss Portal from FORM-based authentication

    krish p Novice

      I've been able to use FORM based authentication and authenticate the JBoss Portal user using my a JAAS security realm that uses module/password stacking. Now, I want to move away from using j_security_check but still use the login modules and my security realm.

      I made the changes to web.xml to comment out the security constraints and roles, and added a filter that explicitly calls LoginContext and uses the security realm. However, I can't get this to work as I get ClassCast and other Exceptions which I am sure are related to missing principals. I'ven't modified the login modules one bit, so what could cause this?

      Am I missing a step or two, in moving away from FORM-based authentication?