This content has been marked as final.
Show 2 replies
-
1. Re: java.lang.IllegalAccessError when instantiating LoginContext
valsaraj007 Feb 2, 2015 5:03 AM (in response to valsaraj007)When I checked found the following code change to fix issue in WebLogic server:
loginContext = new LoginContext(..);
subject = loginContext.login();
to:
subject = weblogic.security.services.Authentication.login(..);
Is there anything like this needed in WildFly?
-
2. Re: Why java.lang.IllegalAccessError when instantiating LoginContext in WildFly?
valsaraj007 Feb 3, 2015 8:19 AM (in response to valsaraj007)I had issue when called a static method from a utility class from MDB to instantiate LoginContext. This is fixed when I copied that code to MDB. I don't know what was the actual cause of that issue.