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
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 Kerberos,
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.lang.SecurityException: Unable to locate a login
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