Class UserMapLoginModule

  • All Implemented Interfaces:
    LoginModule

    public class UserMapLoginModule
    extends Object
    implements LoginModule
    Simple login module that checks against a list of pre-defined users and, if successful, adds a BasicPrincipal with the username to the subject to be used by further modules in the stack.

    Options:

    • userMap: pre-defined user/pw list