В http://docs.oracle.com/javase/6/docs/api/javax/security/auth/login/Configuration.htmlJAAS "Обязательно" флаг
Это говорит
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.
кажется, что если НЕОБХОДИМОЕ LoginModule не удалось, то результат будет не в состоянии. Мой вопрос в том, почему, если Required loginModule не удалось, аутентификация продолжается до , перейдите вниз по списку LoginModule?
Вы видели ответ ниже? Было ли это полезно? – Michael
Да, спасибо большое Майкл – goodier