-
Bug
-
Resolution: Fixed
-
P3
-
1.0
-
merlin
-
generic
-
generic, solaris_7
LoginContext initializes LoginModules with a Subject only once.
if the login method is called and authentication fails,
it nulls out the Subject and instantiates a new one.
but since the LoginModules are not reinitialized with the new
Subject, they end up operating on the original Subject they were
initialized with, to which the LoginContext no longer has
a reference. thus, the updates will never be seen by the
calling application.
if the login method is called and authentication fails,
it nulls out the Subject and instantiates a new one.
but since the LoginModules are not reinitialized with the new
Subject, they end up operating on the original Subject they were
initialized with, to which the LoginContext no longer has
a reference. thus, the updates will never be seen by the
calling application.
- duplicates
-
JDK-4414167 LoginContext does not preserve credentials/principals on retries
-
- Closed
-
-
JDK-4487819 access control exception for username and password after 2nd correct login
-
- Closed
-