Skip to content
Advertisement

Authenticate linux based user in java

I have a username and password for a particular user in Linux i need to verify that if the user is valid or not using java?

Abdul Khaliq

Advertisement

Answer

The Java way to do this would be JAAS, but you’ll still need a LoginModule that works with Linux. Here’s a beta implementation that claims to work.

Advertisement