LoginModule

    Login Modules

     

    JBoss provides a number of useful login modules for you to use:

     

     

    Module

    Description

    SimpleServerLoginModule

    A testing login module that allows any role with a null password to authenticate

    IdentityLoginModule

    A testing login module that causes all users to authenticate with the same credentials

    UsersRolesLoginModule

    Loads user/role information from properties files

    DatabaseServerLoginModule

    Loads user/role information from a database

    LdapLoginModule

    Loads user/role information from an LDAP server (only works with flat role structures)

    LdapExtLoginModule

    Loads user/role information from a hierarchical structure in an LDAP server

    BaseCertLoginModule

    Authenticates client certificates, must be stacked with another login module that does authorization

    CertRolesLoginModule

    An extension of BaseCertLoginModule that authenticates against client certificates and authorizes against properties files

    DatabaseCertLoginModule

    An extension of BaseCertLoginModule that authenticates against client certificates and authorizes against a database

    RunAsLoginModule

    Can be stacked with other login modules to define the &147;run-as&148; status that they use while they are authenticating. Useful if you need to call a secured EJB that is responsible for authenticating users.

    SRPCacheLoginModule

    Used to authenticate users using the Secure Remote Password (SRP) protocol

    SRPLoginModule

    Used by standalone clients that want to authenticate using the SRP protocol

    ClientLoginModule

    Used by standalone clients that want to login to a secure server (use with another LoginModule to perform client-side authentication)

     

     

    Related Links: