Top Classes
[default module]

Package org.mortbay.jetty.plus.jaas.spi


Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractDatabaseLoginModule

AbstractDatabaseLoginModule Abstract base class for LoginModules that interact with a database to retrieve authentication and authorization information.

public abstract class
AbstractLoginModule

AbstractLoginModule Abstract base class for all LoginModules.

public class
DataSourceLoginModule

DataSourceLoginModule A LoginModule that uses a DataSource to retrieve user authentication and authorisation information.

public class
JDBCLoginModule

JDBCLoginModule

JAAS LoginModule to retrieve user information from a database and authenticate the user.

public class
LdapLoginModule

A LdapLoginModule for use with JAAS setups

The jvm should be started with the following parameter: -Djava.security.auth.login.config=etc/ldap-loginModule.conf and an example of the ldap-loginModule.conf would be:

ldaploginmodule {
   org.mortbay.jetty.plus.jaas.spi.LdapLoginModule required
   debug="true"
   contextFactory="com.sun.jndi.ldap.LdapCtxFactory"
   hostname="ldap.example.com"
   port="389"
   bindDn="cn=Directory Manager"
   bindPassword="directory"
   authenticationMethod="simple"
   forceBindingLogin="false"
   userBaseDn="ou=people,dc=alcatel"
   userRdnAttribute="uid"
   userIdAttribute="uid"
   userPasswordAttribute="userPassword"
   userObjectClass="inetOrgPerson"
   roleBaseDn="ou=groups,dc=example,dc=com"
   roleNameAttribute="cn"
   roleMemberAttribute="uniqueMember"
   roleObjectClass="groupOfUniqueNames";
   };
 
public class
PropertyFileLoginModule

PropertyFileLoginModule

public class
UserInfo

UserInfo This is the information read from the external source about a user.