Class PAMAuthenticator


  • public class PAMAuthenticator
    extends Object
    PAMAuthenticator for Unix users
    Version:
    $Revision: 1 $
    Author:
    Bruno Oliveira
    • Constructor Detail

      • PAMAuthenticator

        public PAMAuthenticator​(String username,
                                String... factors)
    • Method Detail

      • authenticate

        public org.jvnet.libpam.UnixUser authenticate()
        Returns true if user was successfully authenticated against PAM
        Returns:
        UnixUser object if user was successfully authenticated