Need an option to load a custom JaasLoginModule without going through com.ibm.ws.kernel.boot.security.LoginModuleProxy #14183
Labels
bug
This bug is not present in a released version of Open Liberty
release bug
This bug is present in a released version of Open Liberty
release:20007
release:200011
Describe the bug
Liberty loads customLoginModule via com.ibm.ws.kernel.boot.security.LoginModuleProxy class. The Proxy class is registered as the JaasLoginModule by Liberty with its "kernelDelegate" option poitning the actual customLoginModule.
Liberty's mechanism would help classloading issue on a certain scenario & jdk combination, but it could get in the way for application to work directly on the custom LoginModule.
Following error is when application tried to load custom loginModule programmatically by calling ClassforName().
Steps to Reproduce
Application to look for its custom LoginModule information programmatically. It would find com.ibm.ws.kernel.boot.security.LoginModuleProxy instead.
Expected behavior
Application can find its custom LoginModule information correctly.
Diagnostic information:
Often times, we see com.ibm.ws.kernel.boot.security.LoginModuleProxy instead of expected customLoginModule name in the error stack.
The text was updated successfully, but these errors were encountered: