tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Harper" <rob...@iat-cti.com>
Subject RE: Beyond bassic form authentication?
Date Fri, 23 Jul 2004 13:48:55 GMT
Did you try scabbing code from the login.jsp? You may want to use that and the
user will gain access to the areas allowed with their group or role.

Robert S. Harper
801.265.8800 ex. 255

> -----Original Message-----
> From: Anastasios Angelidis [mailto:voodoo@videotron.ca]
> Sent: Friday, July 23, 2004 7:37 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Beyond bassic form authentication?
> 
> So I setup my web app to use Form Authentication with a User Realm in my
> MySQL DB. It all works fine. I type the protected resources URL into the
> browser, I get redirected to the login page, I login and behold it works! ;)
> 
> Now how would I give access to a secure resource from an unsecure
> resource. For instance...
> 
> My webapp has a front page with recent news, welcome message etc...
> Standard home page stuff...
> Obviously I can put a sign-in link that will try to access the protected
> resource, which will then redirect to the login page...
> But is there a way to put a login form on the home page directly and
> post that form for authentication and from there give access to the
> protected resource?
> 
> Thanks
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message