|
类摘要 |
| AbstractDatabaseLoginModule |
AbstractDatabaseLoginModule
Abstract base class for LoginModules that interact with a
database to retrieve authentication and authorization information. |
| AbstractLoginModule |
AbstractLoginModule
Abstract base class for all LoginModules. |
| DataSourceLoginModule |
DataSourceLoginModule
A LoginModule that uses a DataSource to retrieve user authentication
and authorisation information. |
| JDBCLoginModule |
JDBCLoginModule
JAAS LoginModule to retrieve user information from
a database and authenticate the user. |
| 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.eclipse.jetty.server.server.plus.jaas.spi.LdapLoginModule required
debug="true"
useLdaps="false"
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";
};
|
| PropertyFileLoginModule |
PropertyFileLoginModule |
| UserInfo |
UserInfo
This is the information read from the external source
about a user. |