[jboss-user] [Security & JAAS/JBoss] - JAAS image problem
jklanka
do-not-reply at jboss.com
Tue Jul 18 03:36:57 EDT 2006
I am running a J2EE application on JBOSS container.
I have configured JAAS authentication and it is successfull.
<login-config>
<auth-method>FORM</auth-method>
<realm-name>Forutne PromoSeven</realm-name>
<form-login-config>
<form-login-page>/login.htm</form-login-page>
<form-error-page>/loginerror.htm</form-error-page>
</form-login-config>
</login-config>
But in the login.htm page if I place a tag to place a logo. It is not displaying.
The URL for the image
http://localhost:8080/MyApp/images/company_logo.gif
But after Logged in I can access the url and displaying the picture.
I realised it is not displaying any subfolder contents until I logged in. But I need to place a image in the login page
..
<form action="j_security_check" method=post>
...
Why this images/company_logo.jpg is not displaying even it is there in the MyApp.ear package.
Please help on this
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958679#3958679
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958679
More information about the jboss-user
mailing list