Piko
01-30-2006, 09:37 PM
com.sun.security.auth.module.UnixLoginModule
Alright I now know this jaas login module can give you all the information about the current user who ran the java application, but I don't want that.
I want it to use the password, and username, and check those to see if they are correct. Right now it ignores the Username, and Password values, and spits up the user I'm logged in as, and not the one logging in as.
If someone could explain how my jaas config file should look that would help, or if someone could point to an example of Unix/Linux authentication modules.
Trying to replace a hacked up C Wrappered PAM based Login module, with something pure java.
Alright I now know this jaas login module can give you all the information about the current user who ran the java application, but I don't want that.
I want it to use the password, and username, and check those to see if they are correct. Right now it ignores the Username, and Password values, and spits up the user I'm logged in as, and not the one logging in as.
If someone could explain how my jaas config file should look that would help, or if someone could point to an example of Unix/Linux authentication modules.
Trying to replace a hacked up C Wrappered PAM based Login module, with something pure java.