1 |
|
---|
2 |
|
---|
3 | diff SessionControl.java SessionControl.java.new
|
---|
4 | 513c513
|
---|
5 | < throw new ItemNotFoundException("User[login="+login+"]");
|
---|
6 | ---
|
---|
7 | > throw new ItemNotFoundException("User[login="+login+"] " + ex.getMessage());
|
---|
8 | 517c517
|
---|
9 | < throw new InvalidPasswordException("User[login="+login+"]");
|
---|
10 | ---
|
---|
11 | > throw new InvalidPasswordException("User[login="+login+"] " + ex.getMessage());
|
---|
12 |
|
---|
13 |
|
---|
14 | diff Application.java Application.java.new
|
---|
15 | 688c688,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 |
|
---|