File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "SSO in Swings application." Watch "SSO in Swings application." New topic
Author

SSO in Swings application.

Rakesh Jhamb
Ranch Hand

Joined: Jun 18, 2003
Posts: 154
Hi,

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.

Thanks.


SCJP2, SCWCD
Jelle Klap
Bartender

Joined: Mar 10, 2008
Posts: 1836
    
    7

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: 14430
    
  23

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
Sheriff

Joined: Oct 27, 2005
Posts: 19783
    
  20

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


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14430
    
  23

Beat you by a few seconds, Rob
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SSO in Swings application.