/[classpath]/classpath/javax/security/auth/login/LoginContext.java
ViewVC logotype

Diff of /classpath/javax/security/auth/login/LoginContext.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by mark, Sat Jul 2 20:32:46 2005 UTC revision 1.4 by mark, Wed Oct 19 16:07:34 2005 UTC
# Line 220  public class LoginContext Line 220  public class LoginContext
220      Exception cause = null;      Exception cause = null;
221      try      try
222        {        {
223          module = (LoginModule) Class.forName (entry.getLoginModuleName()).newInstance();          ClassLoader cl = Thread.currentThread().getContextClassLoader();
224            Class c = Class.forName(entry.getLoginModuleName(), true, cl);
225            module = (LoginModule) c.newInstance();
226        }        }
227      catch (ClassNotFoundException cnfe)      catch (ClassNotFoundException cnfe)
228        {        {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26