diff --git a/doc/README.txt b/doc/README.txt index 5198daa..6464584 100644 --- a/doc/README.txt +++ b/doc/README.txt @@ -158,43 +158,6 @@ public class BlogPost { -$it['ldap']['user']="uid=admin-sudo,ou=services,dc=m4n,dc=nl"; -$it['ldap']['pass']="adminSudo"; -$it['ldap']['baseDN']="ou=sudoers,dc=m4n,dc=nl"; -$it['ldap']['key']="cn"; - -$it['columns'][0]['name']="Edit"; -$it['columns'][0]['columnType']="edit"; -$it['columns'][1]['name']="Delete"; -$it['columns'][1]['columnType']="delete"; -$it['columns'][2]['name']="User"; -$it['columns'][2]['attr']="cn"; -$it['columns'][3]['name']="Description"; -$it['columns'][3]['attr']="description"; -$it['columns'][4]['name']="sudoCommand"; -$it['columns'][4]['attr']="sudocommand"; -$it['columns'][4]['columnType']="list"; -$it['columns'][5]['name']="sudoHost"; -$it['columns'][5]['attr']="sudohost"; -$it['columns'][5]['columnType']="list"; -$it['columns'][6]['name']="sudoUser"; -$it['columns'][6]['attr']="sudouser"; -$it['columns'][6]['columnType']="list"; - -$it['list']['filter']="(&(objectClass=sudoRole))"; -$it['list']['columns']="0,2,6,4,5,1"; -$it['delete']['filter']="cn=%s"; - -$it['edit']['filter']="(cn=%s)"; -$it['edit']['create_dn_key']="cn=%s"; -$it['edit']['columns_edit']="2,3,4,5,6"; -$it['edit']['columns_edit_readonly']="2"; -$it['edit']['columns_create']="2,3,4,5,6"; -$it['edit']['map']['objectclass'][]="sudoRole"; -$it['edit']['map']['objectclass'][]="top"; -$it['edit']['map']['cn']="\$key"; -$it['edit']['map']['description']="\$formData['description']"; - vasc @@ -208,11 +171,6 @@ $it['edit']['map']['description']="\$formData['description']"; -DefaultVascController r = new D..(); - -r.set - - EmployeeDataSource dataSource = new EmployeeDataSource(); dataSource.setJdbcTemplate(new JdbcTemplate(employeeDataSource())); FilteringPaginator filteringPaginator = new FilteringPaginator(dataSource, EmployeeReportObject.class); @@ -228,8 +186,6 @@ dataSource.setJdbcTemplate(new JdbcTemplate(employeeDataSource())); return adapter; - - EVt; @@ -256,11 +212,6 @@ EVt; -Table def: - - - - @SuppressWarnings({ "unchecked", "serial" }) diff --git a/doc/TODO.txt b/doc/TODO.txt new file mode 100644 index 0000000..2a18ce6 --- /dev/null +++ b/doc/TODO.txt @@ -0,0 +1,25 @@ + +- fix frontend event system +- make event channels work +- make sorting work +- make searching work +- made options work +- Plugin validation +- Plugin Role Parser +- Finalizer plugins +- X4O client/server config +- Check user roles in frontend +- Default/Full Table and templating +- Ckeck all validators +- Make annotations work. +- Bind to x18n +- MetaQuery support +- config prefix (and rest of default in finalizer) +- update SWT frontend +- create JSF frontend +- create JSF-extJS frontend +- create XML-RPC frontend + + +=== DONE === + diff --git a/lib/ejb3-persistence.jar b/lib/ejb3-persistence.jar deleted file mode 100644 index 7344ba9..0000000 Binary files a/lib/ejb3-persistence.jar and /dev/null differ diff --git a/lib/hibernate-annotations.jar b/lib/hibernate-annotations.jar deleted file mode 100644 index 39518a7..0000000 Binary files a/lib/hibernate-annotations.jar and /dev/null differ diff --git a/lib/hibernate-entitymanager.jar b/lib/hibernate-entitymanager.jar deleted file mode 100644 index b2e9def..0000000 Binary files a/lib/hibernate-entitymanager.jar and /dev/null differ diff --git a/lib/hibernate3.jar b/lib/hibernate3.jar deleted file mode 100644 index cb9449c..0000000 Binary files a/lib/hibernate3.jar and /dev/null differ diff --git a/lib/jgoodies-binding.jar b/lib/jgoodies-binding.jar deleted file mode 100644 index 5b312e9..0000000 Binary files a/lib/jgoodies-binding.jar and /dev/null differ diff --git a/lib/juel-2.1.0-rc1-impl.jar b/lib/juel-2.1.0-rc1-impl.jar deleted file mode 100644 index 40b1a25..0000000 Binary files a/lib/juel-2.1.0-rc1-impl.jar and /dev/null differ diff --git a/lib/juel-2.1.0-rc1.jar b/lib/juel-2.1.0-rc1.jar deleted file mode 100644 index 805f86e..0000000 Binary files a/lib/juel-2.1.0-rc1.jar and /dev/null differ diff --git a/lib/ldap.jar b/lib/ldap.jar deleted file mode 100755 index 2a0f92d..0000000 Binary files a/lib/ldap.jar and /dev/null differ diff --git a/src/com/idcanet/vasc/backends/ldap/LdapVascBackend.java b/src/com/idcanet/vasc/backends/ldap/LdapVascBackend.java index 8841c7a..bab81e4 100644 --- a/src/com/idcanet/vasc/backends/ldap/LdapVascBackend.java +++ b/src/com/idcanet/vasc/backends/ldap/LdapVascBackend.java @@ -112,7 +112,7 @@ public class LdapVascBackend extends AbstractVascBackend { Iterator i = attributeSet.iterator(); while (i.hasNext()) { LDAPAttribute attr = (LDAPAttribute)i.next(); - //System.out.println("ATTR: "+attr.getName()+" ... "); + System.out.println("ATTR: "+attr.getName()+" value: "+attr.getStringValue()); map.put(attr.getName(), attr.getStringValueArray()); } @@ -203,6 +203,9 @@ public class LdapVascBackend extends AbstractVascBackend { public Object getValue(VascEntryField field, Object record) throws VascException { Map map = (Map)record; String[] r = (String[])map.get(field.getBackendName()); + if (r==null) { + return ""; // create new value, ldap does not return data for field that an user does not have, but other do,... + } if (r.length==1) { return r[0]; } diff --git a/src/com/idcanet/vasc/core/VascController.java b/src/com/idcanet/vasc/core/VascController.java index cda2fc1..13db4ce 100644 --- a/src/com/idcanet/vasc/core/VascController.java +++ b/src/com/idcanet/vasc/core/VascController.java @@ -29,6 +29,7 @@ package com.idcanet.vasc.core; /** * Resolvs all the resolvers. + * These resolved often point to an external locations. * * @author Willem Cazander * @version 1.0 Sep 11, 2008 @@ -57,4 +58,10 @@ public interface VascController { * @return Returns the VascEventChannelControllerResolver */ public VascEventChannelControllerResolver getVascEventChannelControllerResolver(); + + /** + * + * @return Returns the VascUserRoleControllerResolver + */ + public VascUserRoleControllerResolver getVascUserRoleControllerResolver(); } \ No newline at end of file diff --git a/src/com/idcanet/vasc/core/VascUserRoleController.java b/src/com/idcanet/vasc/core/VascUserRoleController.java new file mode 100644 index 0000000..c963f00 --- /dev/null +++ b/src/com/idcanet/vasc/core/VascUserRoleController.java @@ -0,0 +1,44 @@ +/* + * Copyright 2004-2007 IDCA. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the + * following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and + * the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions + * and the following disclaimer in the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the authors and + * should not be interpreted as representing official policies, either expressed or implied, of IDCA. + */ + +package com.idcanet.vasc.core; + +import java.util.List; + + +/** + * + * @author Willem Cazander + * @version 1.0 Nov 19, 2008 + */ +public interface VascUserRoleController { + + public Long getUserId(); + + public String getUserName(); + + public List getUserRoles(); +} \ No newline at end of file diff --git a/src/com/idcanet/vasc/core/VascUserRoleControllerResolver.java b/src/com/idcanet/vasc/core/VascUserRoleControllerResolver.java new file mode 100644 index 0000000..0be23d0 --- /dev/null +++ b/src/com/idcanet/vasc/core/VascUserRoleControllerResolver.java @@ -0,0 +1,38 @@ +/* + * Copyright 2004-2007 IDCA. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the + * following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and + * the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions + * and the following disclaimer in the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the authors and + * should not be interpreted as representing official policies, either expressed or implied, of IDCA. + */ + +package com.idcanet.vasc.core; + + +/** + * + * @author Willem Cazander + * @version 1.0 Nov 19, 2008 + */ +public interface VascUserRoleControllerResolver { + + public VascUserRoleController getVascUserRoleController(); +} \ No newline at end of file diff --git a/src/com/idcanet/vasc/core/ui/VascUIActionComponent.java b/src/com/idcanet/vasc/core/ui/VascUIActionComponent.java new file mode 100644 index 0000000..ade93be --- /dev/null +++ b/src/com/idcanet/vasc/core/ui/VascUIActionComponent.java @@ -0,0 +1,37 @@ +/* + * Copyright 2004-2007 IDCA. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the + * following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and + * the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions + * and the following disclaimer in the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the authors and + * should not be interpreted as representing official policies, either expressed or implied, of IDCA. + */ + +package com.idcanet.vasc.core.ui; + + +/** + * + * @author Willem Cazander + * @version 1.0 Nov 19, 2008 + */ +public interface VascUIActionComponent extends VascUIComponent { + +} \ No newline at end of file diff --git a/src/com/idcanet/vasc/core/ui/VascUIActionComponentListener.java b/src/com/idcanet/vasc/core/ui/VascUIActionComponentListener.java new file mode 100644 index 0000000..49ffaf5 --- /dev/null +++ b/src/com/idcanet/vasc/core/ui/VascUIActionComponentListener.java @@ -0,0 +1,37 @@ +/* + * Copyright 2004-2007 IDCA. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the + * following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and + * the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions + * and the following disclaimer in the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the authors and + * should not be interpreted as representing official policies, either expressed or implied, of IDCA. + */ + +package com.idcanet.vasc.core.ui; + + +/** + * + * @author Willem Cazander + * @version 1.0 Nov 19, 2008 + */ +public interface VascUIActionComponentListener { + +} \ No newline at end of file diff --git a/src/com/idcanet/vasc/frontends/swing/ui/SwingBoolean.java b/src/com/idcanet/vasc/frontends/swing/ui/SwingBoolean.java index 5cc369e..3932ea4 100644 --- a/src/com/idcanet/vasc/frontends/swing/ui/SwingBoolean.java +++ b/src/com/idcanet/vasc/frontends/swing/ui/SwingBoolean.java @@ -53,7 +53,7 @@ public class SwingBoolean implements VascUIComponent { public Object createComponent(VascEntry table,VascEntryField entryField,VascValueModel model,Object gui) throws Exception { checkBox = new JCheckBox(); orgBackgroundColor = checkBox.getBackground(); - checkBox.setSelected((Boolean)model.getValue()); + checkBox.setSelected(new Boolean(model.getValue().toString())); ((JComponent)gui).add(checkBox); checkBox.addActionListener(new SelectActionListener(model,table)); return checkBox; diff --git a/src/com/idcanet/vasc/impl/DefaultVascController.java b/src/com/idcanet/vasc/impl/DefaultVascController.java index aa370b3..39281ad 100644 --- a/src/com/idcanet/vasc/impl/DefaultVascController.java +++ b/src/com/idcanet/vasc/impl/DefaultVascController.java @@ -31,6 +31,7 @@ import com.idcanet.vasc.core.VascController; import com.idcanet.vasc.core.VascEntryControllerResolver; import com.idcanet.vasc.core.VascEntryFieldTypeControllerResolver; import com.idcanet.vasc.core.VascEventChannelControllerResolver; +import com.idcanet.vasc.core.VascUserRoleControllerResolver; /** * @@ -44,6 +45,7 @@ public class DefaultVascController implements VascController { private VascEntryControllerResolver vascEntryControllerResolver = null; private VascEntryFieldTypeControllerResolver vascEntryFieldTypeControllerResolver = null; private VascEventChannelControllerResolver vascEventChannelControllerResolver = null; + private VascUserRoleControllerResolver vascUserRoleControllerResolver = null; /** * @return the vascEventChannelControllerResolver @@ -101,4 +103,19 @@ public class DefaultVascController implements VascController { public void setVascEntryFieldTypeControllerResolver(VascEntryFieldTypeControllerResolver vascEntryFieldTypeControllerResolver) { this.vascEntryFieldTypeControllerResolver = vascEntryFieldTypeControllerResolver; } + + /** + * @return the vascUserRoleControllerResolver + */ + public VascUserRoleControllerResolver getVascUserRoleControllerResolver() { + return vascUserRoleControllerResolver; + } + + /** + * @param vascUserRoleControllerResolver the vascUserRoleControllerResolver to set + */ + public void setVascUserRoleControllerResolver( + VascUserRoleControllerResolver vascUserRoleControllerResolver) { + this.vascUserRoleControllerResolver = vascUserRoleControllerResolver; + } } \ No newline at end of file diff --git a/src/com/idcanet/vasc/impl/DefaultVascEventChannelControllerResolver.java b/src/com/idcanet/vasc/impl/DefaultVascEventChannelControllerResolver.java new file mode 100644 index 0000000..0b8b7b3 --- /dev/null +++ b/src/com/idcanet/vasc/impl/DefaultVascEventChannelControllerResolver.java @@ -0,0 +1,55 @@ +/* + * Copyright 2004-2007 IDCA. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the + * following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and + * the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions + * and the following disclaimer in the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the authors and + * should not be interpreted as representing official policies, either expressed or implied, of IDCA. + */ + +package com.idcanet.vasc.impl; + +import com.idcanet.vasc.core.VascEventChannelController; +import com.idcanet.vasc.core.VascEventChannelControllerResolver; + +/** + * + * @author Willem Cazander + * @version 1.0 Nov 19, 2008 + */ +public class DefaultVascEventChannelControllerResolver implements VascEventChannelControllerResolver { + + private VascEventChannelController vascEventChannelController = null; + + /** + * @return the vascEventChannelController + */ + public VascEventChannelController getVascEventChannelController() { + return vascEventChannelController; + } + + /** + * @param vascEventChannelController the vascEventChannelController to set + */ + public void setVascEventChannelController( + VascEventChannelController vascEventChannelController) { + this.vascEventChannelController = vascEventChannelController; + } +} \ No newline at end of file diff --git a/src/com/idcanet/vasc/impl/DefaultVascUserRoleControllerResolver.java b/src/com/idcanet/vasc/impl/DefaultVascUserRoleControllerResolver.java new file mode 100644 index 0000000..08a4714 --- /dev/null +++ b/src/com/idcanet/vasc/impl/DefaultVascUserRoleControllerResolver.java @@ -0,0 +1,55 @@ +/* + * Copyright 2004-2007 IDCA. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the + * following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and + * the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions + * and the following disclaimer in the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * The views and conclusions contained in the software and documentation are those of the authors and + * should not be interpreted as representing official policies, either expressed or implied, of IDCA. + */ + +package com.idcanet.vasc.impl; + +import com.idcanet.vasc.core.VascUserRoleController; +import com.idcanet.vasc.core.VascUserRoleControllerResolver; + +/** + * + * @author Willem Cazander + * @version 1.0 Nov 19, 2008 + */ +public class DefaultVascUserRoleControllerResolver implements VascUserRoleControllerResolver { + + private VascUserRoleController vascUserRoleController = null; + + /** + * @return the vascUserRoleController + */ + public VascUserRoleController getVascUserRoleController() { + return vascUserRoleController; + } + + /** + * @param vascUserRoleController the vascUserRoleController to set + */ + public void setVascUserRoleController( + VascUserRoleController vascUserRoleController) { + this.vascUserRoleController = vascUserRoleController; + } +} \ No newline at end of file diff --git a/tests/resources/vasc/tables.xml b/tests/resources/vasc/tables.xml index f56a572..fa785b0 100644 --- a/tests/resources/vasc/tables.xml +++ b/tests/resources/vasc/tables.xml @@ -9,14 +9,14 @@ bindUser="uid=admin-sudo,ou=services,dc=m4n,dc=nl" bindPass="adminSudo" /> - + /> + @@ -39,6 +39,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +