From: Adam R. <ad...@ex...> - 2009-12-29 09:55:40
|
Just did a fresh checkout of trunk, and it all builds here... 2009/12/29 Thomas White <tho...@gm...>: > I receive the following errors from the code in the trunk. > > Thomas > > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\UserImpl.java:44: interface > expected here > [javac] public class UserImpl implements User { > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\GroupImpl.java:27: interface > expected here > [javac] public class GroupImpl implements Comparable, Group { > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\dom\DocumentImpl.java:501: incompatible > types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User user = > secman.getUser(permissions.getOwner()); > [javac] ^ > [javac] D:\work 2009\eXist-1.5dev\src\org\exist\security\User.java:433: > cannot find symbol > [javac] symbol : class LDAPbindSecurityManager > [javac] location: class org.exist.security.User > [javac] if(sm instanceof LDAPbindSecurityManager ) { > [javac] ^ > [javac] D:\work 2009\eXist-1.5dev\src\org\exist\security\User.java:434: > cannot find symbol > [javac] symbol : class LDAPbindSecurityManager > [javac] location: class org.exist.security.User > [javac] if( > ((LDAPbindSecurityManager)sm).bind(user,passwd)) > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\collections\Collection.java:1574: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User user = secman.getUser(permissions.getOwner()); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\dom\BinaryDocument.java:101: incompatible > types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User user = > secman.getUser(permissions.getOwner()); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\SecurityManager.java:50: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] public final static User SYSTEM_USER = new UserImpl(DBA_USER, > null, DBA_GROUP); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\scheduler\Scheduler.java:524: incompatible > types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User guestUser = > brokerpool.getSecurityManager().getUser(SecurityManager > .GUEST_USER); > > [javac] > ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\UserImpl.java:48: incompatible > types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] new UserImpl( "guest", null, "guest" ); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\UserImpl.java:83: cannot find > symbol > [javac] symbol : variable PLAIN_ENCODING > [javac] location: class org.exist.security.UserImpl > [javac] PASSWORD_ENCODING = PLAIN_ENCODING; > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\UserImpl.java:85: cannot find > symbol > [javac] symbol : variable MD5_ENCODING > [javac] location: class org.exist.security.UserImpl > [javac] PASSWORD_ENCODING = MD5_ENCODING; > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\UserImpl.java:87: cannot find > symbol > [javac] symbol : variable SIMPLE_MD5_ENCODING > [javac] location: class org.exist.security.UserImpl > [javac] PASSWORD_ENCODING = SIMPLE_MD5_ENCODING; > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\UserImpl.java:362: cannot find > symbol > [javac] symbol : variable PLAIN_ENCODING > [javac] location: class org.exist.security.UserImpl > [javac] case PLAIN_ENCODING: > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\UserImpl.java:364: cannot find > symbol > [javac] symbol : variable MD5_ENCODING > [javac] location: class org.exist.security.UserImpl > [javac] case MD5_ENCODING: > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\storage\NativeBroker.java:577: > setUser(org.exist.security.User) in o > rg.exist.storage.DBBroker cannot be applied to (org.exist.security.UserImpl) > [javac] setUser( > pool.getSecurityManager().getUser(SecurityManager.DBA_USER) ); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\storage\NativeBroker.java:1463: > setUser(org.exist.security.User) in > org.exist.storage.DBBroker cannot be applied to > (org.exist.security.UserImpl) > [javac] setUser( > pool.getSecurityManager().getUser(SecurityManager.DBA_USER) ); > [javac] ^ > [javac] D:\work 2009\eXist-1.5dev\src\org\exist\ant\ChownTask.java:34: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User usr = service.getUser(name); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\ant\LockResourceTask.java:45: incompatible > types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User usr = service.getUser(name); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\ant\RemoveUserTask.java:35: incompatible > types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User u = service.getUser(name); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\ant\UserPasswordTask.java:30: incompatible > types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User usr = service.getUser(name); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\atom\http\AtomServlet.java:444: > get(org.exist.security.User) in org. > exist.storage.BrokerPool cannot be applied to (org.exist.security.UserImpl) > [javac] broker = pool.get(user); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\http\webdav\WebDAV.java:182: incompatible > types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] return digestAuth.authenticate(request, response); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\http\webdav\WebDAV.java:184: incompatible > types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] return basicAuth.authenticate(request, response); > [javac] ^ > [javac] D:\work 2009\eXist-1.5dev\src\org\exist\backup\Restore.java:228: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User u = new UserImpl(owner, > null, group); > [javac] ^ > [javac] D:\work 2009\eXist-1.5dev\src\org\exist\backup\Restore.java:343: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User u = new UserImpl(owner, null, > group); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\client\InteractiveClient.java:891: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User u = mgtService.getUser(args[1]); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\client\InteractiveClient.java:905: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User u = mgtService.getUser(args[1]); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\client\InteractiveClient.java:925: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User user = > mgtService.getUser(properties.getProperty("user", "guest")); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\client\DocumentView.java:122: incompatible > types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User user = > service.getUser(properties.getProperty("user")); //$NON-NLS-1$ > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\http\servlets\EXistServlet.java:622: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] return user; > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\http\servlets\EXistServlet.java:636: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] return > authenticator.authenticate(request,response); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\http\servlets\EXistServlet.java:663: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] return user; > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\http\servlets\XSLTServlet.java:139: > getSource(org.exist.security.Use > r,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.xml.transform.sax.SAXTransformerFac > tory,java.lang.String) in org.exist.http.servlets.XSLTServlet cannot be > applied to (org.exist.security.UserImpl,javax.se > rvlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.xml.transform.sax.SAXTransformerFactory,java. > lang.String) > [javac] Templates templates = getSource(user, request, > response, factory, stylesheet); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\http\servlets\XSLTServlet.java:145: > get(org.exist.security.User) in > org.exist.storage.BrokerPool cannot be applied to > (org.exist.security.UserImpl) > [javac] broker = pool.get(user); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\http\urlrewrite\XQueryURLRewrite.java:219: > get(org.exist.security.Us > er) in org.exist.storage.BrokerPool cannot be applied to > (org.exist.security.UserImpl) > [javac] broker = pool.get(user); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\http\urlrewrite\XQueryURLRewrite.java:379: > get(org.exist.security.Us > er) in org.exist.storage.BrokerPool cannot be applied to > (org.exist.security.UserImpl) > [javac] broker = pool.get(user); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\http\urlrewrite\RewriteConfig.java:144: > get(org.exist.security.User) > in org.exist.storage.BrokerPool cannot be applied to > (org.exist.security.UserImpl) > [javac] broker = urlRewrite.pool.get(urlRewrite.user); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\protocolhandler\embedded\EmbeddedUser.java:60: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] return user; // user does exist and password is > valid > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\protocolhandler\embedded\EmbeddedUser.java:70: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] return > pool.getSecurityManager().getUser(SecurityManager.GUEST_USER); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\internal\SecurityManagerImpl.java:85: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] public final static User SYSTEM_USER = new > UserImpl(DBA_USER, null, DBA_GROUP); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\internal\SecurityManagerImpl.java:181: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] user = new > UserImpl(major,minor,(Element)node); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\internal\SecurityManagerImpl.java:196: > incompatible types > [javac] found : org.exist.security.GroupImpl > [javac] required: org.exist.security.Group > [javac] group = new GroupImpl((Element)node); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\internal\SecurityManagerImpl.java:231: > cannot find symbol > [javac] symbol : method deleteUser(org.exist.security.UserImpl) > [javac] location: class org.exist.security.internal.SecurityManagerImpl > [javac] deleteUser(getUser(name)); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\internal\SecurityManagerImpl.java:285: > incompatible types > [javac] found : org.exist.security.GroupImpl > [javac] required: org.exist.security.Group > [javac] Group group = new GroupImpl(name, ++nextGroupId); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\internal\SecurityManagerImpl.java:384: > setUser(org.exist.se > curity.User) in org.exist.storage.DBBroker cannot be applied to > (org.exist.security.UserImpl) > [javac] broker.setUser(getUser(DBA_USER)); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\internal\SecurityManagerImpl.java:427: > createUserHome(org.e > xist.storage.DBBroker,org.exist.storage.txn.Txn,org.exist.security.User) in > org.exist.security.internal.SecurityManagerI > mpl cannot be applied to > (org.exist.storage.DBBroker,org.exist.storage.txn.Txn,org.exist.security.UserImpl) > [javac] createUserHome(broker, txn, user); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\internal\SecurityManagerImpl.java:455: > setUser(org.exist.se > curity.User) in org.exist.storage.DBBroker cannot be applied to > (org.exist.security.UserImpl) > [javac] broker.setUser(getUser(DBA_USER)); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\ldap\SecurityManagerImpl.java:389: > incompatible types > [javac] found : org.exist.security.GroupImpl > [javac] required: org.exist.security.Group > [javac] return group; > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\ldap\SecurityManagerImpl.java:405: > incompatible types > [javac] found : org.exist.security.GroupImpl > [javac] required: org.exist.security.Group > [javac] return group; > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\ldap\SecurityManagerImpl.java:459: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] return user; > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\security\xacml\UserAttributeModule.java:80: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User user = > pdp.getBrokerPool().getSecurityManager().getUser(uid); > > [javac] > ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\soap\AdminSoapBindingImpl.java:73: > createSession(org.exist.security. > User) in org.exist.soap.SessionManager cannot be applied to > (org.exist.security.UserImpl) > [javac] return SessionManager.getInstance().createSession(u); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\soap\AdminSoapBindingImpl.java:812: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User u = pool.getSecurityManager().getUser(user); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\soap\AdminSoapBindingImpl.java:922: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User lo = manager.getUser(userName); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\soap\QuerySoapBindingImpl.java:119: > createSession(org.exist.security > .User) in org.exist.soap.SessionManager cannot be applied to > (org.exist.security.UserImpl) > [javac] return SessionManager.getInstance().createSession(u); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\validation\resolver\SearchResourceResolver.java:77: > incompatible typ > es > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User user = > brokerPool.getSecurityManager().getUser(SecurityManager.GUEST_USER); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\xmldb\LocalCollection.java:146: incompatible > types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] user = new UserImpl("guest", "guest", "guest"); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\xmldb\DatabaseImpl.java:274: incompatible > types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] return u; > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\xmldb\LocalUserManagementService.java:644: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User old = manager.getUser(u.getName()); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\xmldb\RemoteUserManagementService.java:399: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] u[i] = new UserImpl((String) > tab.get("name"), null); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\xmlrpc\RpcConnection.java:1687: incompatible > types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User u = > factory.getBrokerPool().getSecurityManager().getUser(name); > > [javac] > ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\xmlrpc\XmldbRequestProcessorFactory.java:84: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] return u; > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\xqj\XQDataSource.java:104: > get(org.exist.security.User) in org.exist > .storage.BrokerPool cannot be applied to (org.exist.security.UserImpl) > [javac] DBBroker broker = pool.get(user); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\xquery\functions\session\SetCurrentUser.java:102: > setUser(org.exist. > security.User) in org.exist.storage.DBBroker cannot be applied to > (org.exist.security.UserImpl) > [javac] context.getBroker().setUser(user); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\xquery\functions\system\AsUser.java:83: > setUser(org.exist.security.U > ser) in org.exist.storage.DBBroker cannot be applied to > (org.exist.security.UserImpl) > [javac] context.getBroker().setUser(user); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\xquery\functions\xmldb\XMLDBAuthenticate.java:163: > incompatible type > s > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User user = ums.getUser( userName ); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\xquery\functions\xmldb\XMLDBDeleteUser.java:92: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User userObj = ums.getUser(user); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\xquery\functions\xmldb\XMLDBIsAdmin.java:74: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User user = ums.getUser(userName); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\xquery\functions\xmldb\XMLDBSetCollectionPermissions.java:98: > incomp > atible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User usr = ums.getUser(user); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\xquery\functions\xmldb\XMLDBSetResourcePermissions.java:104: > incompa > tible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User usr = ums.getUser(user); > [javac] ^ > [javac] D:\work > 2009\eXist-1.5dev\src\org\exist\xquery\functions\xmldb\XMLDBUserAccess.java:101: > incompatible types > [javac] found : org.exist.security.UserImpl > [javac] required: org.exist.security.User > [javac] User user = ums.getUser(userName); > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |