Permalink
Browse files

populated initially

  • Loading branch information...
1 parent 1a56cdc commit 364c6449ea11459f30aa0b487588f3d99c52f8ad Sean Ahn committed Feb 27, 2009
Showing 431 changed files with 33,147 additions and 0 deletions.
View
@@ -0,0 +1,6 @@
+target
+reports
+derby.log
+.classpath
+.project
+.metadata
View
@@ -0,0 +1,84 @@
+require "rubygems"
+require "buildr"
+require "buildr/xmlbeans"
+require "buildr/cobertura"
+
+# Keep this structure to allow the build system to update version numbers.
+VERSION_NUMBER = "6.0.0.34-SNAPSHOT"
+
+require "rsc/build/dependencies.rb"
+require "rsc/build/repositories.rb"
+# leave this require after dependencies.rb so the same jpa version is used throughout the whole build
+require "rsc/buildr-tasks/openjpa"
+require "rsc/buildr-tasks/generate_sql"
+
+desc "Securities"
+define "securities" do
+ project.version = VERSION_NUMBER
+ project.group = "org.intalio.security"
+
+ compile.options.target = "1.5"
+
+ define "dao-nutsNbolts" do
+ compile.with projects("security", "web-nutsNbolts"), APACHE_JPA, SLF4J
+ package :jar
+ end
+
+ desc "Security Framework"
+ define "security" do
+ compile.with CAS_CLIENT, DOM4J, CASTOR, LOG4J, SLF4J, SPRING[:core], XERCES
+
+ test.exclude "*BaseSuite"
+ test.exclude "*FuncTestSuite"
+ test.exclude "*LDAPAuthenticationTest*"
+ test.exclude "*LDAPRBACProviderTest*"
+ test.with JAXEN, XMLUNIT, INSTINCT
+
+ package :jar
+ end
+
+ desc "Security Web-Service Common Library"
+ define "security-ws-common" do
+ compile.with project("security"), AXIOM, AXIS2, SLF4J, SPRING[:core], STAX_API
+ package :jar
+ end
+
+ desc "Security Web-Service Client"
+ define "security-ws-client" do
+ compile.with projects("security", "security-ws-common"),AXIOM, AXIS2, SLF4J, STAX_API, SPRING[:core]
+ test.with APACHE_COMMONS[:httpclient], APACHE_COMMONS[:codec], CASTOR, LOG4J, SUNMAIL, XERCES, WS_COMMONS_SCHEMA, WSDL4J, WOODSTOX, CAS_CLIENT, INSTINCT
+
+ # Remember to set JAVA_OPTIONS before starting Jetty
+ # export JAVA_OPTIONS=-Dorg.intalio.tempo.configDirectory=/home/boisvert/svn/tempo/security-ws2/src/test/resources
+
+ # require live Axis2 instance
+ if ENV["LIVE"] == 'yes'
+ LIVE_ENDPOINT = "http://localhost:8080/axis2/services/TokenService"
+ end
+
+ if defined? LIVE_ENDPOINT
+ test.using :properties =>
+ { "org.intalio.tempo.security.ws.endpoint" => LIVE_ENDPOINT,
+ "org.intalio.tempo.configDirectory" => _("src/test/resources") }
+ end
+
+ package(:jar).tap do |jar|
+ jar.with :meta_inf => project("security-ws-service").path_to("src/main/axis2/*.wsdl")
+ end
+ end
+
+
+ desc "Security Web-Service"
+ define "security-ws-service" do
+ compile.with projects("security", "security-ws-common"), AXIOM, AXIS2, SLF4J, SPRING[:core], STAX_API
+ package(:aar).with :libs => [ projects("security", "security-ws-common"), CASTOR, SLF4J, SPRING[:core], CAS_CLIENT ]
+ end
+
+ desc "Common spring and web related classes"
+ define "web-nutsNbolts" do
+ libs = AXIS2, APACHE_COMMONS[:lang], INTALIO_STATS, JSON_NAGGIT, JSP_API, LOG4J, SERVLET_API, SLF4J, SPRING[:core], SPRING[:webmvc]
+ test_libs = libs + [JUNIT, INSTINCT, SPRING_MOCK, AXIOM, project("security-ws-client"), STAX_API, WSDL4J, WS_COMMONS_SCHEMA]
+ compile.with test_libs
+ package :jar
+ end
+end
@@ -0,0 +1,170 @@
+
+dn: ou=People, dc=example, dc=com
+objectclass: top
+objectclass: organizationalUnit
+ou: People
+description: People
+
+
+dn: cn=adminx, ou=People, dc=example, dc=com
+cn: adminx
+sn: adminxistrator
+objectclass: top
+objectclass: person
+objectclass: organizationalPerson
+objectclass: inetOrgPerson
+ou: People
+givenName: adminx
+mail: adminx@example.org
+userPassword: changeit
+
+dn: cn=msmith, ou=People, dc=example, dc=com
+cn: msmith
+sn: Smith
+objectclass: top
+objectclass: person
+objectclass: organizationalPerson
+objectclass: inetOrgPerson
+ou: employee
+givenName: Michael
+mail: msmith@example.org
+l: Foster City
+userPassword: password
+
+dn: cn=ewilliams, ou=People, dc=example, dc=com
+cn: ewilliams
+sn: Williams
+objectclass: top
+objectclass: person
+objectclass: organizationalPerson
+objectclass: inetOrgPerson
+ou: employee
+givenName: Emily
+mail: ewilliams@example.org
+l: Foster City
+userPassword: password
+
+dn: cn=s1x, ou=People, dc=example, dc=com
+cn: s1x
+sn: Sales 1
+objectclass: top
+objectclass: person
+objectclass: organizationalPerson
+objectclass: inetOrgPerson
+ou: People
+givenName: Sales1x
+mail: s1x@example.org
+l: Foster City
+userPassword: password
+
+dn: cn=s2x, ou=People, dc=example, dc=com
+cn: s2x
+sn: Sales 2
+objectclass: top
+objectclass: person
+objectclass: organizationalPerson
+objectclass: inetOrgPerson
+ou: People
+givenName: Sales2x
+mail: s2x@example.org
+l: Foster City
+userPassword: password
+
+dn: cn=m1x, ou=People, dc=example, dc=com
+cn: m1x
+sn: Manager 1
+objectclass: top
+objectclass: person
+objectclass: organizationalPerson
+objectclass: inetOrgPerson
+ou: People
+givenName: Manager1
+mail: m1x@example.org
+l: Foster City
+userPassword: password
+
+dn: cn=m2x, ou=People, dc=example, dc=com
+cn: m2x
+sn: Manager 2
+objectclass: top
+objectclass: person
+objectclass: organizationalPerson
+objectclass: inetOrgPerson
+ou: People
+givenName: Manager2
+mail: m2x@example.org
+l: Foster City
+userPassword: password
+
+dn: cn=cfo, ou=People, dc=example, dc=com
+cn: cfo
+sn: Mr. CFO
+objectclass: top
+objectclass: person
+objectclass: organizationalPerson
+objectclass: inetOrgPerson
+ou: People
+givenName: CFO
+mail: cfo@example.org
+l: Foster City
+userPassword: password
+
+dn: ou=Roles,dc=example,dc=com
+objectclass: top
+objectclass: organizationalUnit
+ou: Roles
+description: Roles
+
+dn: cn=ProcessManager, ou=Roles, dc=example, dc=com
+objectclass: top
+objectclass: groupOfUniqueNames
+cn: ProcessManager
+ou: Roles
+uniquemember: cn=adminx,ou=People,dc=example,dc=com
+uniquemember: cn=cfo,ou=People,dc=example,dc=com
+uniquemember: cn=m1x,ou=People,dc=example,dc=com
+uniquemember: cn=msmith,ou=People,dc=example,dc=com
+
+dn: cn=ProcessAdministrator, ou=Roles, dc=example, dc=com
+objectclass: top
+objectclass: groupOfUniqueNames
+cn: ProcessAdministrator
+ou: Roles
+uniquemember: cn=adminx,ou=People,dc=example,dc=com
+uniquemember: cn=cfo,ou=People,dc=example,dc=com
+uniquemember: cn=m1x,ou=People,dc=example,dc=com
+uniquemember: cn=ewilliams,ou=People,dc=example,dc=com
+
+dn: cn=Sales, ou=Roles, dc=example, dc=com
+objectclass: top
+objectclass: groupOfUniqueNames
+cn: Sales
+ou: Roles
+uniquemember: cn=s1x,ou=People,dc=example,dc=com
+uniquemember: cn=s2x,ou=People,dc=example,dc=com
+
+dn: cn=Manager,ou=Roles,dc=example,dc=com
+objectclass: top
+objectclass: groupOfUniqueNames
+cn: Manager
+ou: Roles
+uniquemember: cn=m1x,ou=People,dc=example,dc=com
+uniquemember: cn=m2x,ou=People,dc=example,dc=com
+
+dn: cn=employee,ou=Roles,dc=example,dc=com
+objectclass: top
+objectclass: groupOfUniqueNames
+cn: employee
+ou: Roles
+uniquemember: cn=m1x,ou=People,dc=example,dc=com
+uniquemember: cn=m2x,ou=People,dc=example,dc=com
+uniquemember: cn=ewilliams,ou=People,dc=example,dc=com
+uniquemember: cn=msmith,ou=People,dc=example,dc=com
+uniquemember: cn=cfo,ou=People,dc=example,dc=com
+
+dn: cn=CFO,ou=Roles,dc=example,dc=com
+objectclass: top
+objectclass: groupOfUniqueNames
+cn: CFO
+ou: Roles
+uniquemember: cn=cfo,ou=People,dc=example,dc=com
@@ -0,0 +1,133 @@
+
+dn: ou=People, dc=intalio, dc=com
+objectclass: top
+objectclass: organizationalUnit
+ou: People
+description: People
+
+
+dn: cn=admin, ou=People, dc=intalio, dc=com
+cn: admin
+sn: Administrator
+objectclass: top
+objectclass: person
+objectclass: organizationalPerson
+objectclass: inetOrgPerson
+ou: People
+givenName: ADMIN
+mail: admin@intalio.org
+userPassword: changeit
+
+dn: cn=s1, ou=People, dc=intalio, dc=com
+cn: s1
+sn: Sales 1
+objectclass: top
+objectclass: person
+objectclass: organizationalPerson
+objectclass: inetOrgPerson
+ou: People
+givenName: Sales1
+mail: s1@intalio.org
+l: Foster City
+userPassword: password
+
+dn: cn=s2, ou=People, dc=intalio, dc=com
+cn: s2
+sn: Sales 2
+objectclass: top
+objectclass: person
+objectclass: organizationalPerson
+objectclass: inetOrgPerson
+ou: People
+givenName: Sales2
+mail: s2@intalio.org
+l: Foster City
+userPassword: password
+
+dn: cn=m1, ou=People, dc=intalio, dc=com
+cn: m1
+sn: Manager 1
+objectclass: top
+objectclass: person
+objectclass: organizationalPerson
+objectclass: inetOrgPerson
+ou: People
+givenName: Manager1
+mail: m1@intalio.org
+l: Foster City
+userPassword: password
+
+dn: cn=m2, ou=People, dc=intalio, dc=com
+cn: m2
+sn: Manager 2
+objectclass: top
+objectclass: person
+objectclass: organizationalPerson
+objectclass: inetOrgPerson
+ou: People
+givenName: Manager2
+mail: m2@intalio.org
+l: Foster City
+userPassword: password
+
+dn: cn=cf, ou=People, dc=intalio, dc=com
+cn: cf
+sn: Mr. CFO
+objectclass: top
+objectclass: person
+objectclass: organizationalPerson
+objectclass: inetOrgPerson
+ou: People
+givenName: CFO
+mail: cfo@intalio.org
+l: Foster City
+userPassword: password
+
+dn: ou=Roles,dc=intalio,dc=com
+objectclass: top
+objectclass: organizationalUnit
+ou: Roles
+description: Roles
+
+dn: cn=ProcessManager, ou=Roles, dc=intalio, dc=com
+objectclass: top
+objectclass: groupOfUniqueNames
+cn: ProcessManager
+ou: Roles
+uniquemember: cn=admin,ou=People,dc=intalio,dc=com
+uniquemember: cn=cf,ou=People,dc=intalio,dc=com
+uniquemember: cn=m1,ou=People,dc=intalio,dc=com
+
+dn: cn=ProcessAdministrator, ou=Roles, dc=intalio, dc=com
+objectclass: top
+objectclass: groupOfUniqueNames
+cn: ProcessAdministrator
+ou: Roles
+uniquemember: cn=admin,ou=People,dc=intalio,dc=com
+uniquemember: cn=cf,ou=People,dc=intalio,dc=com
+uniquemember: cn=m1,ou=People,dc=intalio,dc=com
+
+
+dn: cn=Sales, ou=Roles, dc=intalio, dc=com
+objectclass: top
+objectclass: groupOfUniqueNames
+cn: Sales
+ou: Roles
+uniquemember: cn=s1,ou=People,dc=intalio,dc=com
+uniquemember: cn=s2,ou=People,dc=intalio,dc=com
+uniquemember: cn=m1,ou=People,dc=intalio,dc=com
+
+dn: cn=Manager,ou=Roles,dc=intalio,dc=com
+objectclass: top
+objectclass: groupOfUniqueNames
+cn: Manager
+ou: Roles
+uniquemember: cn=m1,ou=People,dc=intalio,dc=com
+uniquemember: cn=m2,ou=People,dc=intalio,dc=com
+
+dn: cn=CFO,ou=Roles,dc=intalio,dc=com
+objectclass: top
+objectclass: groupOfUniqueNames
+cn: CFO
+ou: Roles
+uniquemember: cn=cf,ou=People,dc=intalio,dc=com
Oops, something went wrong.

0 comments on commit 364c644

Please sign in to comment.