File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes SSO in Swings application. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "SSO in Swings application." Watch "SSO in Swings application." New topic

SSO in Swings application.

Rakesh Jhamb
Ranch Hand

Joined: Jun 18, 2003
Posts: 154

There is a Swings application that currently requires the user to logon using Windows Credentials. Since the user is already logged on the windows machine, I would like to implement SSO functionality in this application so that the user does not have log on again.

Please suggest some free open source framework that will help in achieving this in a swing application running on windows.


Jelle Klap

Joined: Mar 10, 2008
Posts: 1951

I'm not sure that's possible for client applications on Windows.
This article mentions support for accessing the native GSS-API of the operation system:

To make Java GSS-API use native GSS-API, Java platform applications must explicitly enable this behavior by setting one or more of the following system properties.

Unfortunately, in case of Windows operating systems:
Note: These two system properties are ignored when applications run on operating systems that do not yet support this feature, for example, MS Windows.

Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15082

The Java GUI toolkit is called Swing, not Swings with an s at the end.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Rob Spoor

Joined: Oct 27, 2005
Posts: 20273

It's Swing, not Swings. What Jesper said just before me...

How To Ask Questions How To Answer Questions
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15082

Beat you by a few seconds, Rob
I agree. Here's the link:
subject: SSO in Swings application.
jQuery in Action, 3rd edition