在http://docs.oracle.com/javase/6/docs/api/javax/security/auth/login/Configuration.html
它说
1) Required - The LoginModule is required to succeed.
If it succeeds or fails, authentication still continues
to proceed down the LoginModule list.
它还说
The overall authentication succeeds only if all Required and Requisite LoginModules succeed.
If a Sufficient LoginModule is configured and succeeds, then only the Required and
Requisite LoginModules prior to that Sufficient LoginModule need to have succeeded
for the overall authentication to succeed.
似乎如果Required loginModule 失败,结果将失败。我的问题是,为什么如果Required loginModule 失败,身份验证仍然继续在LoginModule 列表中进行?