|
From: Michael K. <ko...@us...> - 2005-04-13 16:09:25
|
Update of /cvsroot/cobricks/cobricks2/src/org/cobricks/user In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27608 Modified Files: UserManagerImpl.java Log Message: Index: UserManagerImpl.java =================================================================== RCS file: /cvsroot/cobricks/cobricks2/src/org/cobricks/user/UserManagerImpl.java,v retrieving revision 1.46 retrieving revision 1.47 diff -u -d -r1.46 -r1.47 --- UserManagerImpl.java 12 Apr 2005 13:09:24 -0000 1.46 +++ UserManagerImpl.java 13 Apr 2005 16:09:13 -0000 1.47 @@ -1870,7 +1870,15 @@ String handlerClassName = getProperty("user.domain." + domain + ".class"); if (handlerClassName == null) { - return null; + // check default handler + if (getProperty("user.domain.default.class") == null) + return null; + domain = "default"; + handlerClassName = getProperty("user.domain." + domain + + ".class"); + if (handlerClassName == null) { + return null; + } } logger.debug("Instantiate UserHandler from class "+handlerClassName); |