类 org.eclipse.jetty.plus.jaas.spi.AbstractLoginModule
的使用

使用 AbstractLoginModule 的软件包
org.eclipse.jetty.plus.jaas.spi   
 

org.eclipse.jetty.plus.jaas.spiAbstractLoginModule 的使用
 

org.eclipse.jetty.plus.jaas.spiAbstractLoginModule 的子类
 class AbstractDatabaseLoginModule
          AbstractDatabaseLoginModule Abstract base class for LoginModules that interact with a database to retrieve authentication and authorization information.
 class DataSourceLoginModule
          DataSourceLoginModule A LoginModule that uses a DataSource to retrieve user authentication and authorisation information.
 class JDBCLoginModule
          JDBCLoginModule JAAS LoginModule to retrieve user information from a database and authenticate the user.
 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.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"; };

 class PropertyFileLoginModule
          PropertyFileLoginModule
 



Copyright © 2013. All Rights Reserved.