[jboss-user] [Security & JAAS/JBoss] - Re: LDAP is giving error : Invalid direct reference to form

ragavgomatam do-not-reply at jboss.com
Wed Aug 20 13:05:59 EDT 2008


also anonymous wrote : <url-pattern>/security/*</url-pattern>
appears to a problem...Make your 
anonymous wrote : <form-login-config>
  | 			<form-login-page>/security/login.jsp</form-login-page>
  | 			<form-error-page>/security/error.jsp</form-error-page>
  | 		</form-login-config>
in a different directory than your suceess.jsp. Lets say anonymous wrote : /jaas/login.jsp and /jaas/error.jsp

You should be calling (1) anonymous wrote : http://localhost:8080/yourContext/security/success.jsp.
(2) This should bring you to anonymous wrote : /jaas/login.jsp
(3) If your authentication passes, you should be automatically directed to anonymous wrote : /security/success.jsp

Let me know if this works

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171570#4171570

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171570



More information about the jboss-user mailing list