469,347 Members | 2,100 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,347 developers. It's quick & easy.

Is it possible for java based applications to use asp.net forms authentication mechanism

We have a requirement where in a java based web application is getting
integrated with the existing .net based web pages. The .net based web
pages are secured through forms authentication. Is there any mechanism
where we can extend the same form based authentication to java based
web pages?

Nov 14 '07 #1
4 2058
Unless the java-based application can be taught how to decrypt a Forms
Authentication cookie ticket, no.

--Peter
http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"sa**************@gmail.com" wrote:
We have a requirement where in a java based web application is getting
integrated with the existing .net based web pages. The .net based web
pages are secured through forms authentication. Is there any mechanism
where we can extend the same form based authentication to java based
web pages?

Nov 14 '07 #2
Hi Peter,
Thanks for the reply. Do you know or heard of any implementation like
this where the cookie can be decrypted? Or is it a wrong forum to ask
this?

On Nov 14, 2:05 pm, Peter Bromberg [C# MVP]
<pbromb...@yahoo.NoSpamMaam.comwrote:
Unless the java-based application can be taught how to decrypt a Forms
Authentication cookie ticket, no.

--Peterhttp://www.eggheadcafe.com
unBlog:http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"santosh.tripa...@gmail.com" wrote:
We have a requirement where in a java based web application is getting
integrated with the existing .net based web pages. The .net based web
pages are secured through forms authentication. Is there any mechanism
where we can extend the same form based authentication to java based
web pages?- Hide quoted text -

- Show quoted text -

Nov 14 '07 #3
You would need some form of java /.net bridge (below) - where the classes
from .net could be used in Java. Its unlikely to be cheap if you find
something, and not normally an aproach developers would normally favour but
for unique scanrios might be do-able.

http://j-integra.intrinsyc.com/products/espresso/

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"santosh" <sa**************@gmail.comwrote in message
news:11**********************@v65g2000hsc.googlegr oups.com...
Hi Peter,
Thanks for the reply. Do you know or heard of any implementation like
this where the cookie can be decrypted? Or is it a wrong forum to ask
this?

On Nov 14, 2:05 pm, Peter Bromberg [C# MVP]
<pbromb...@yahoo.NoSpamMaam.comwrote:
>Unless the java-based application can be taught how to decrypt a Forms
Authentication cookie ticket, no.

--Peterhttp://www.eggheadcafe.com
unBlog:http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"santosh.tripa...@gmail.com" wrote:
We have a requirement where in a java based web application is getting
integrated with the existing .net based web pages. The .net based web
pages are secured through forms authentication. Is there any mechanism
where we can extend the same form based authentication to java based
web pages?- Hide quoted text -

- Show quoted text -


Nov 14 '07 #4
Now that I revisit the subject, I think a good way to handle this is to use
Forms auth for the ASP.NET as you already have, but use a WebService to
handle the Authenticate call. The Java stuff can also use the same
Webservice, and they'll write their own "ticket" cookie in any way that they
do it. So you'll have two sets of cookies, but authentication will work off
the same webservice and users table for both types of pages.

--Peter
http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"sa**************@gmail.com" wrote:
We have a requirement where in a java based web application is getting
integrated with the existing .net based web pages. The .net based web
pages are secured through forms authentication. Is there any mechanism
where we can extend the same form based authentication to java based
web pages?

Nov 15 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

73 posts views Thread by RobertMaas | last post: by
13 posts views Thread by Charles Handy | last post: by
114 posts views Thread by Maurice LING | last post: by
2 posts views Thread by Matt | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.