Linux Authentication checking with java program

User will enter loginid,password thru browser, i need to cross check that loginid,password info with linuxuser id, password. How can i do it through java program. regards,bill
[203 byte] By [billa27] at [2007-9-30 20:41:42]
# 1
If you just need to access that information you might want to search around for information on JAAS and the UnixLoginModule.
YoGee at 2007-7-7 1:30:42 > top of Java-index,Java Essentials,Java Programming...
# 2
... also, IBM JAAS has a LinuxLoginModule. http://www-106.ibm.com/developerworks/library/j-ibmsecurity.html?ca=dgr-lnxw03BetterJavaSecurity
YoGee at 2007-7-7 1:30:42 > top of Java-index,Java Essentials,Java Programming...
# 3

thanks alot for ur immediate response.

can i use com.sun.security.auth.module.UnixLoginModule --login()

for Basic Authentication . The moment user accesses the login page , will it prompt for user name , password, it should validate those things with Unix system user,password.

if not pls suggest better way, easy way of handling.

awaiting for ur reply.

regards,

bill

billa27 at 2007-7-7 1:30:42 > top of Java-index,Java Essentials,Java Programming...