# Single-Sign-on problem?

**URL:** <https://www.ruby-forum.com/t/single-sign-on-problem/130793>\
**Category:** Ruby\
**Created:** [March 3, 2008, 12:31pm UTC](https://www.ruby-forum.com/t/single-sign-on-problem/130793 "2008-03-03T12:31:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![varunkumargoel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/ed8c4c/32.png) [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Post date:** [March 3, 2008, 12:31pm UTC](https://www.ruby-forum.com/t/single-sign-on-problem/130793/1 "2008-03-03T12:31:38Z")

</div>

Hi All,  
I am authenticating user using LDAP. Now i wanna do one thing if  
user is authenticated through LDAP server then my other application like  
[myapp1.domain.com](http://myapp1.domain.com),[myapp2.domain.com](http://myapp2.domain.com) also logged in user but these  
application in java and dotnet.

How to do this please tell me your suggestion.

Thanks & Regards,  
Varun G.

---

<div class="post-metadata">

**Author:** ![varunkumargoel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/ed8c4c/32.png) [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Post date:** [March 4, 2008, 3:22am UTC](https://www.ruby-forum.com/t/single-sign-on-problem/130793/2 "2008-03-04T03:22:58Z")

</div>

On Mon, Mar 3, 2008 at 10:31 PM, Varun G.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ```
> I am authenticating user using LDAP. Now i wanna do one thing if
> 
> ```
> 
> user is authenticated through LDAP server then my other application like  
> [myapp1.domain.com](http://myapp1.domain.com),[myapp2.domain.com](http://myapp2.domain.com) also logged in user but these  
> application in java and dotnet.  
> How to do this please tell me your suggestion.

I would recommend you store the fact that they are authenticated in an  
encrypted session key and then have all three of your apps interrogate  
the session to see if the user was autheticated the last time they  
spoke to one of your servers.

Regards

Mikel
