Re: Java sample for SSO using JAAS on XP SP2,

2005-07-09 Thread Jeffrey Altman
Barfield Steve wrote: > Dear Kerberos, > > I have been asked if my java (jsp/servlets/beans) application could get the > current user's id by using Kerberos tickets. If you could give me any advice > I would be very grateful. > > Thanks Steve If the user logged into Windows using Kerberos, you c

Java sample for SSO using JAAS on XP SP2,

2005-07-08 Thread Barfield Steve
Dear Kerberos, I have been asked if my java (jsp/servlets/beans) application could get the current user's id by using Kerberos tickets. If you could give me any advice I would be very grateful. Thanks Steve Kerberos mailing list Kerbe

Re: Java sample for SSO using JAAS on XP SP2, did anybody get it to work?

2005-04-23 Thread Seema Malkani
all the -D >>options programmatically. How do I do that? Also is it possible to >>eliminate the need for the .conf file and specify, the LoginModule to >>be used, programatically? >> >>thanks >>Atul Bajpai >>Development Infrastructure >> >>

RE: Java sample for SSO using JAAS on XP SP2, did anybody get it to work?

2005-04-20 Thread Bajpai, Atul
oginMudule? Atul Bajpai Development Infrastructure -Original Message- From: Seema Malkani [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 5:33 PM To: Bajpai, Atul Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; kerberos@mit.edu Subject: Re: Java sample for SSO using JAAS

Re: Java sample for SSO using JAAS on XP SP2, did anybody get it to work?

2005-04-05 Thread Seema Malkani
elopment Infrastructure -Original Message- From: Seema Malkani [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 2:29 PM To: Bajpai, Atul Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; kerberos@mit.edu Subject: Re: Java sample for SSO using JAAS on XP SP2, did anybody get it

RE: Java sample for SSO using JAAS on XP SP2, did anybody get it to work?

2005-04-04 Thread Bajpai, Atul
lkani [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 2:29 PM To: Bajpai, Atul Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; kerberos@mit.edu Subject: Re: Java sample for SSO using JAAS on XP SP2, did anybody get it to work? As per your earlier email, you had mentioned that SSO

Re: Java sample for SSO using JAAS on XP SP2, did anybody get itto work?

2005-04-04 Thread Seema Malkani
Although currently Java Kerberos does not support RC4-HMAC etype, this is not a problem with the encryption type. JAAS Kerberos authentication does succeed when the user provides the login/password; this means user has enabled "DES" for this account. If the AD account settings have "use DES enc

Re: Java sample for SSO using JAAS on XP SP2, did anybody get it to work?

2005-04-04 Thread Seema Malkani
As per your earlier email, you had mentioned that SSO works correctly with your "test" account, and you do not get prompted for password. Is this an issue with the another account on the same AD domain ? JAAS Kerberos login module will acquire the native credentials, provided you have the corre

Re: Java sample for SSO using JAAS on XP SP2, did anybody get itto work?

2005-04-03 Thread Markus Moeller
Could it be a problem with the encryption types ? Windows default is rc4-hmac which isn't supported by Suns JAAS. Markus "vadim" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hallo, > > read this: > > http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/spec/com/sun/security/

Re: Java sample for SSO using JAAS on XP SP2, did anybody get it to work?

2005-04-03 Thread vadim
Hallo, read this: http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/spec/com/sun/security/auth/module/Krb5LoginModule.html Regards, vadim tarassov On Fri, 2005-04-01 at 17:05 -0600, Bajpai, Atul wrote: > Hi all, > I am using a JAAS sample to try SSO on windows. My problem is When I use >

Java sample for SSO using JAAS on XP SP2, did anybody get it to work?

2005-04-01 Thread Bajpai, Atul
Hi all, I am using a JAAS sample to try SSO on windows. My problem is When I use the Krb5LoginModule I am always prompted for a username and password. I want my app to get the kerberos ticket for the currently logged in user (which is me) without being prompted for username/password. To understand

Re: Java sample for SSO using JAAS on XP SP2

2005-03-18 Thread Seema Malkani
Infrastructure > > >-Original Message- >From: Seema Malkani [mailto:[EMAIL PROTECTED] >Sent: Friday, March 18, 2005 4:27 PM >To: Bajpai, Atul >Cc: kerberos@mit.edu >Subject: Re: Java sample for SSO using JAAS on XP SP2 > >If the test account wor

RE: Java sample for SSO using JAAS on XP SP2

2005-03-18 Thread Bajpai, Atul
: Bajpai, Atul Cc: kerberos@mit.edu Subject: Re: Java sample for SSO using JAAS on XP SP2 If the test account works correctly and you are not getting prompted, there is no problem with your registry setting for "allowtgtsessionkey". Java GSS/Kerberos acquired the native credentials on your Win

Re: Java sample for SSO using JAAS on XP SP2

2005-03-18 Thread Seema Malkani
do I force >the app to >Use my credentials and not prompt me for the username/pwd? > >TIA >Atul Bajpai >Development Infrastructure > > >-Original Message- >From: Seema Malkani [mailto:[EMAIL PROTECTED] >Sent: Thursday, March 17, 2005 3:55 PM >To: Bajpai

RE: Java sample for SSO using JAAS on XP SP2

2005-03-18 Thread Bajpai, Atul
- From: Seema Malkani [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 3:55 PM To: Bajpai, Atul Cc: kerberos@mit.edu Subject: Re: Java sample for SSO using JAAS on XP SP2 You can refer to Java GSS tutorials for sample code: http://java.sun.com/j2se/1.5.0/docs/guide/security/jgss/tutor

Re: Java sample for SSO using JAAS on XP SP2

2005-03-17 Thread Seema Malkani
You can refer to Java GSS tutorials for sample code: http://java.sun.com/j2se/1.5.0/docs/guide/security/jgss/tutorials/index.html Please check if you have set the register key "allowtgtsessionkey" correctly. Here is the location of the registry setting on Windows XP SP2: HKEY_LOCAL_MACHINE\System

Java sample for SSO using JAAS on XP SP2

2005-03-15 Thread Bajpai, Atul
Hi all, I am trying to find a SSO solution for Java apps. My requirements are to retrieve and use the currently logged in users credentials to authenticate against Windows AD. After browsing through the mailing list archives I was able to find some JAAS sample code to do this but I am unable get t