By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,908 Members | 2,056 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,908 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.