🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2034

Web Start + JAAS, any success?

#2034
From: Guy2000
Date: Thu, 28 Jun 2001 22:37
23 lines
2077 bytes
Has anyone managed to get a JAAS enabled application to launch using Web
Start?

I'm using a signed jar with a JNLP file that grants all permissions. I still
get a security exception when trying to create a LoginContext.

java.lang.SecurityException: unable to instantiate LoginConfiguration
 at
javax.security.auth.login.Configuration.getConfiguration(Configuration.java:
212)
 at javax.security.auth.login.LoginContext$1.run(LoginContext.java:166)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.login.LoginContext.init(LoginContext.java:163)
 at javax.security.auth.login.LoginContext.<init>(LoginContext.java:319)
 at foo.jaas.auth.CxTestLogin.main(CxTestLogin.java:109)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.sun.javaws.Launcher.executeApplication(Unknown Source)
 at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
 at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
 at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
 at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
 at com.sun.javaws.Launcher.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Technical Details
Message-ID: <3b3bb21f$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,bd6525a5047267f7,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-06-28 16:02:29 PST
From: "Guy2000" <foo@bar.com>
Newsgroups: borland.public.jbuilder.java.api
Subject: Web Start + JAAS, any success?
Date: Thu, 28 Jun 2001 18:37:50 -0400
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.3018.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
NNTP-Posting-Host: 216.254.84.166
Message-ID: <3b3bb21f$1_1@dnews>
X-Trace: dnews 993767967 216.254.84.166 (28 Jun 2001 15:39:27 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews