Menu ▾ ▴

Installation

Peter Hodosy

Installation

PWauthLoginModule is a standard JaaS login module. For using, make the following steps:

  1. Create a new config file or extend the actual one:
    jaas.config:

    PWauth{
    org.hodosy.security.auth.module.PWauthLoginModule required
    ;
    };

You can use some [Options] for fulfilling your needs.

  1. Download and compile PWAuth. Before compilation add Unix user id to PWAuth config file who will going to use this login module.

  2. Execute your java application with the following option: -Djava.security.auth.login.config=jaas.config where the value is the path of your config file.

  3. User principal: org.hodosy.security.auth.pwauth.member.UnixUserPrincipal
    Group Principals: org.hodosy.security.auth.pwauth.member.UnixGroupPrincipal; org.hodosy.security.auth.pwauth.member.NestedUnixGroupPrincipal


Related

Wiki: Home
Wiki: Options