2 Replies Latest reply on Jan 8, 2014 7:38 AM by Pedro Igor

    SAML SSO on Spring MVC using Picketlink JBoss 7.1.1 AS - 404 error after authentication

    dev Thoughts Newbie

      We are trying to configure picketlink on jboss 7 to have SAML based web SSO on spring mvc application (as IDP).

      We have custom login module which extends DatabaseServerLogin module and our application needs just user authentication and no need of authorization. We have a custom authorization logic built in house which will be called after user is authenticated. So the roles for <auth-constraint> & <security-role> is marked *.

      configuration done in web.xml




           <web-resource-name>Manager command</web-resource-name>









           <realm-name>PicketLink IDP Application</realm-name>









      Spring dispatcher servlet url pattern is

      <servlet-mapping> <servlet-name>dispatcher</servlet-name>> <url-pattern>/</url-pattern> </servlet-mapping>

      http:myHostName:8080/myapp/home is taking to login page as configured.

      After login/authentication is successful, then call is redirected to a controller url mapping /home and that controller is returning home.jsp as expected but on the browser I am getting 404 error.

      But when we debugged, we came to know that at some point of method stack trace before returning to browser, there status of response object is changed to 404 and error is true.

      Am i missing any configuration? Any help would be appreciated@@