Hi,
I am trying to configure CSS JAAS authentication with our LDAP server. I was able to get things working using preference page configuration. See attached screen shot for my configuration.
But for easy deployment configuration, I would like to configure using the FIle option. But I kept on getting the following exception:
2013-03-15 23:18:28.736 WARNING [Thread 10] org.csstudio.platform.internal.jaasauthentication.JaasLoginModule (login) - Login error: cannot create a JAAS LoginContext. Using anonymously.
javax.security.auth.login.LoginException: No LoginModules configured for /Users/wu049/ASKAPsoft/Code/Components/CSS/current/files/css-config/LDAP_Authentication.config
Here is content of my config file:
LDAPLoginModule {
org.csstudio.platform.internal.jaasauthentication.LDAPBindLoginModule required
debug=true
user.provider.url="" href="ldap://xxxu:999/">ldap://xxxu:999/"
user.dn.format="CN={0},DC=csiro,DC=au";
};
So I think my config file is incorrect, but I have no idea what the correct file should look like. Can someone send me a sample JAAS authentication file please.
Thanks,
Xinyu WU
ASKAP Computing
Australia Telescope National Facility
CSIRO Astronomy and Space Science
phone: +61 2 9372 4727
postal: PO Box 76 Epping, NSW. 1710
|