Ticket #1575: externalAuth.diff

File externalAuth.diff, 879 bytes (added by base, 13 years ago)

diffs of Application and SessionControl classes (version 2.16.1)

Line 
1
2
3diff SessionControl.java SessionControl.java.new
4513c513
5< throw new ItemNotFoundException("User[login="+login+"]");
6---
7> throw new ItemNotFoundException("User[login="+login+"] " + ex.getMessage());
8517c517
9< throw new InvalidPasswordException("User[login="+login+"]");
10---
11> throw new InvalidPasswordException("User[login="+login+"] " + ex.getMessage());
12
13
14diff Application.java Application.java.new
15688c688,691
16< a = (Authenticator)Class.forName(authenticationDriver).newInstance();
17---
18> //a = (Authenticator)Class.forName(authenticationDriver).newInstance();
19> String jarPath = Config.getString("auth.jarpath");
20> ClassLoader loader = jarPath==null || jarPath.equals("") ? null : JarClassLoader.getInstance(jarPath, true);
21> a = (Authenticator)ClassUtil.checkAndLoadClass(loader, authenticationDriver, true, Authenticator.class).newInstance();
22