My application uses a JNDIRealm to provide authentication, which is
working fine. However within my application I now have need to query
the same LDAP server which the JNDIRealm is configured to connect.
Is there a way that I can either create a managed resource for LDAP
connectivity that I can c
From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]>
I was trying to get away with just using the JNDIRealm connector but if
you don't mind I will use portions of your code for a custom JAAS Realm.
That's what it's there for. :)
Do check the recent list archives if you want to use a custom user princ
omcat Users List
Subject: Re: server.xml JNDIRealm question
From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]>
> I've added :
> -Djavax.security.auth.useSubjectCredsOnly=false
> To my Catalina options environment variable in Catalina.bat.
> Now I get the error:
> java.l
From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]>
I've added :
-Djavax.security.auth.useSubjectCredsOnly=false
To my Catalina options environment variable in Catalina.bat.
Now I get the error:
java.lang.SecurityException: Unable to locate a login configuration
To get a JAASRealm to work with Kerber
Ok I've made progress, whether it is backwards or not, I don't know yet.
I've added :
-Djavax.security.auth.useSubjectCredsOnly=false
To my Catalina options environment variable in Catalina.bat.
Now I get the error:
java.lang.SecurityException: Unable to locate a login configuration
a
The quick question:
Where do I place the cache file generated by kinit?
The long explanation:
Oh the fun and joy of getting JNDIRealm to work! I am attempting to use
authentication="GSSAPI" against Active Directory and I can't figure out
how to setup Kerberos.
I'm getting the error:
GSSExcept