SEC-1953: Spring Security Java Config support

This is the initial migration of Spring Security Java Config from the
external project at
https://github.com/SpringSource/spring-security-javaconfig
This commit is contained in:
Rob Winch
2013-06-30 17:26:57 -05:00
parent fba4fec84b
commit d0c4e6ca72
140 changed files with 20023 additions and 12 deletions

View File

@@ -4,7 +4,7 @@ apply plugin: 'eclipse'
sourceCompatibility = 1.5
targetCompatibility = 1.5
ext.springVersion = '3.2.0.RELEASE'
ext.springVersion = '3.2.3.RELEASE'
ext.springLdapVersion = '1.3.1.RELEASE'
ext.ehcacheVersion = '1.6.2'
ext.aspectjVersion = '1.6.10'
@@ -27,6 +27,15 @@ ext.powerMockDependencies = [
"org.powermock:powermock-reflect:$powerMockVersion"
]
ext.apacheds_libs = [
"org.apache.directory.server:apacheds-core:$apacheDsVersion",
"org.apache.directory.server:apacheds-core-entry:$apacheDsVersion",
"org.apache.directory.server:apacheds-protocol-shared:$apacheDsVersion",
"org.apache.directory.server:apacheds-protocol-ldap:$apacheDsVersion",
"org.apache.directory.server:apacheds-server-jndi:$apacheDsVersion",
'org.apache.directory.shared:shared-ldap:0.9.15'
]
ext.bundlorProperties = [
version: version,
secRange: "[$version, 3.3.0)",

View File

@@ -47,7 +47,15 @@ def customizePom(pom, gradleProject) {
// Hack for specific case of config module
if (p.artifactId == 'spring-security-config') {
p.dependencies.find { dep -> dep.artifactId == 'spring-security-ldap'}.optional = true
p.dependencies.find { dep -> dep.artifactId == 'spring-ldap-core'}.optional = true
p.dependencies.find { dep -> dep.groupId.startsWith "org.apache.directory" }*.optional = true
p.dependencies.find { dep -> dep.artifactId == 'spring-security-web'}.optional = true
p.dependencies.find { dep -> dep.artifactId == 'spring-security-openid'}.optional = true
p.dependencies.find { dep -> dep.artifactId == 'guice'}.optional = true
p.dependencies.find { dep -> dep.artifactId == 'openid4java-nodeps'}.optional = true
p.dependencies.find { dep -> dep.artifactId == 'spring-jdbc'}.optional = true
p.dependencies.find { dep -> dep.artifactId == 'spring-tx'}.optional = true
p.dependencies.find { dep -> dep.artifactId == 'spring-web'}.optional = true
}