Loading build.gradle.template 0 → 100644 +45 −0 Original line number Diff line number Diff line plugins { id 'java' id 'maven' id 'maven-publish' id 'com.jfrog.bintray' version '1.7.1' } repositories { jcenter() mavenLocal() } //jar.archiveName = "cadc-access-control-server.jar" apply plugin: 'war' war { archiveName 'ac.war' } sourceCompatibility = 1.7 group = 'org.opencadc' version = '1.0.1' dependencies { runtime 'log4j:log4j:1.2.+' runtime 'org.jdom:jdom2:2.+' runtime 'org.json:json:20160212' runtime 'xerces:xercesImpl:2.+' runtime 'javax.servlet:javax.servlet-api:3.1.+' runtime 'com.unboundid:unboundid-ldapsdk:2.3.+' runtime 'jaxen:jaxen:1.1.+' runtime 'org.opencadc:cadc-log:1.+' runtime 'org.opencadc:cadc-util:1.+' runtime 'org.opencadc:cadc-registry:1.+' runtime 'org.opencadc:cadc-vosi:1.+' runtime 'org.opencadc:cadc-uws:1.+' runtime 'org.opencadc:cadc-uws-server:1.+' runtime 'org.opencadc:cadc-access-control:1.+' runtime 'org.opencadc:cadc-access-control-identity:1.+' runtime 'org.opencadc:cadc-access-control-server:1.+' } src/main/resources/LocalAuthority.properties 0 → 100644 +17 −0 Original line number Diff line number Diff line # # local authority map # # <base standardID> = <authority> #ac = canfar.net ivo://ivoa.net/std/GMS#groups-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/GMS#search-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#users-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#reqs-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#login-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#modpass-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#resetpass-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#whoami-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/CDP#delegate-1.0 = ivo://oats.inaf.it/cred ivo://ivoa.net/std/CDP#proxy-1.0 = ivo://oats.inaf.it/cred ivo://oats.inaf.it/vospace = ivo://oats.inaf.it/vospace src/main/resources/PluginFactory.properties 0 → 100644 +10 −0 Original line number Diff line number Diff line ## commented out values are the defaults, shown as examples ## to customise behaviour, subclass the specified class and ## change the configuration here ## UserPersistence implementation ca.nrc.cadc.ac.server.UserPersistence = ca.nrc.cadc.ac.server.ldap.LdapUserPersistence ## GroupPersistence implementation ca.nrc.cadc.ac.server.GroupPersistence = ca.nrc.cadc.ac.server.ldap.LdapGroupPersistence src/main/resources/RsaSignaturePriv.key.template 0 → 100644 +5 −0 Original line number Diff line number Diff line -----BEGIN PRIVATE KEY----- The key can be generated using core/cadc-util/src/main/java/ca/nrc/cadc/util/RsaSignatureGenerator.java check comments online. -----END PRIVATE KEY----- src/main/resources/RsaSignaturePub.key.template 0 → 100644 +5 −0 Original line number Diff line number Diff line -----BEGIN PUBLIC KEY----- The key can be generated using core/cadc-util/src/main/java/ca/nrc/cadc/util/RsaSignatureGenerator.java check comments online. -----END PUBLIC KEY----- Loading
build.gradle.template 0 → 100644 +45 −0 Original line number Diff line number Diff line plugins { id 'java' id 'maven' id 'maven-publish' id 'com.jfrog.bintray' version '1.7.1' } repositories { jcenter() mavenLocal() } //jar.archiveName = "cadc-access-control-server.jar" apply plugin: 'war' war { archiveName 'ac.war' } sourceCompatibility = 1.7 group = 'org.opencadc' version = '1.0.1' dependencies { runtime 'log4j:log4j:1.2.+' runtime 'org.jdom:jdom2:2.+' runtime 'org.json:json:20160212' runtime 'xerces:xercesImpl:2.+' runtime 'javax.servlet:javax.servlet-api:3.1.+' runtime 'com.unboundid:unboundid-ldapsdk:2.3.+' runtime 'jaxen:jaxen:1.1.+' runtime 'org.opencadc:cadc-log:1.+' runtime 'org.opencadc:cadc-util:1.+' runtime 'org.opencadc:cadc-registry:1.+' runtime 'org.opencadc:cadc-vosi:1.+' runtime 'org.opencadc:cadc-uws:1.+' runtime 'org.opencadc:cadc-uws-server:1.+' runtime 'org.opencadc:cadc-access-control:1.+' runtime 'org.opencadc:cadc-access-control-identity:1.+' runtime 'org.opencadc:cadc-access-control-server:1.+' }
src/main/resources/LocalAuthority.properties 0 → 100644 +17 −0 Original line number Diff line number Diff line # # local authority map # # <base standardID> = <authority> #ac = canfar.net ivo://ivoa.net/std/GMS#groups-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/GMS#search-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#users-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#reqs-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#login-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#modpass-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#resetpass-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#whoami-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/CDP#delegate-1.0 = ivo://oats.inaf.it/cred ivo://ivoa.net/std/CDP#proxy-1.0 = ivo://oats.inaf.it/cred ivo://oats.inaf.it/vospace = ivo://oats.inaf.it/vospace
src/main/resources/PluginFactory.properties 0 → 100644 +10 −0 Original line number Diff line number Diff line ## commented out values are the defaults, shown as examples ## to customise behaviour, subclass the specified class and ## change the configuration here ## UserPersistence implementation ca.nrc.cadc.ac.server.UserPersistence = ca.nrc.cadc.ac.server.ldap.LdapUserPersistence ## GroupPersistence implementation ca.nrc.cadc.ac.server.GroupPersistence = ca.nrc.cadc.ac.server.ldap.LdapGroupPersistence
src/main/resources/RsaSignaturePriv.key.template 0 → 100644 +5 −0 Original line number Diff line number Diff line -----BEGIN PRIVATE KEY----- The key can be generated using core/cadc-util/src/main/java/ca/nrc/cadc/util/RsaSignatureGenerator.java check comments online. -----END PRIVATE KEY-----
src/main/resources/RsaSignaturePub.key.template 0 → 100644 +5 −0 Original line number Diff line number Diff line -----BEGIN PUBLIC KEY----- The key can be generated using core/cadc-util/src/main/java/ca/nrc/cadc/util/RsaSignatureGenerator.java check comments online. -----END PUBLIC KEY-----