Jetty 也支援配置JAAS,瞭解更多見原文地址。
原文地址:http://wiki.eclipse.org/Jetty/Tutorial/JAAS
1 Introduction 2 Details 2.1 Configuring a JAASLoginService 2.2 Declaring an org.eclipse.jetty.plus.jaas.JAASLoginService 2.3 Creating a JAAS login module configuration file 2.4 Specifying the JAAS login module configuration file on the Jetty run line 3 Fine Tuning the JAASLoginService 3.1 Understanding the RoleCheckPolicy 3.2 Using the CallbackHandler 3.3 Configuring a Role Principal Implementation Class 4 Examining Sample Login Modules 4.1 Understanding Passwords/Credentials 4.2 JDBCLoginModule 4.3 DataSourceLoginModule 4.4 PropertyFileLoginModule 4.5 LdapLoginModule 4.5.1 Configuring the Role Principal Implementation Class for the LdapLoginModule[1] 4.6 Writing Your Own LoginModule 5 Examining an Example JAAS WebApp 6 Other Goodies 6.1 RequestParameterCallback 7 References 詳情請見原文,Tomcat也支援JAAS的配置。