Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SSO in Swings application.

 
Rakesh Jhamb
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jelle Klap
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15436
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java GUI toolkit is called Swing, not Swings with an s at the end.
 
Rob Spoor
Sheriff
Pie
Posts: 20605
60
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's Swing, not Swings. What Jesper said just before me...
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15436
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Beat you by a few seconds, Rob
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic