com.sun.security.jgss.krb5.initiate {
com.sun.security.auth.module.Krb5LoginModule required
doNotPrompt=true useKeyTab=true principal=uname1;
};
and then you need to reference the location of this file via a property. There are multiple ways of doing this, as described in the tutorial referenced above, but the simplest is to use the java.security.auth.login.config property, e.g.
-Djava.security.auth.login.config=file:///path/to/login.config
This particular configuration will look for a keytab file first in whatever is specified in the krb5.conf file, if that exists, or else the home directory of the user that owns the Java process, but you can override that default with the keyTab option in the login.config. All the available options are described here.
--
--
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com
To unsubscribe from this group, send email to
mongodb-user...@googlegroups.com
See also the IRC channel -- freenode.net#mongodb
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.