1
0
mirror of synced 2026-09-06 01:09:48 +00:00

Compare commits

...

16 Commits

Author SHA1 Message Date
Josh Cummings 6747e1330f Release 4.2.20.RELEASE 2020-12-09 10:32:52 -07:00
Josh Cummings 932b084923 Update to Spring LDAP 2.3.3
Closes gh-9274
2020-12-09 10:32:27 -07:00
Josh Cummings 66ca1d93f2 Update to GAE 1.9.83
Closes gh-9273
2020-12-09 10:32:22 -07:00
Josh Cummings 8fb27d9329 Update to Spring Framework 4.3.30
Closes gh-9272
2020-12-09 10:32:14 -07:00
Rob Winch 14e3e0f0b7 Use artifactoryUsername/Password 2020-11-17 09:26:50 -06:00
Rob Winch 76f33ae6e6 Next Developement Version 2020-10-07 14:19:08 -05:00
Rob Winch b0651b97fd Release 4.2.19.RELEASE 2020-10-07 14:17:57 -05:00
Rob Winch 7cce996ebe Fix SpringSecurityCoreVersion
Issue gh-9103
2020-10-07 13:49:25 -05:00
Rob Winch 2aa09d11e2 Update to Spring 4.3.28.RELEASE
Closes gh-9103
2020-10-07 13:41:54 -05:00
Artem Grankin 8ab8376b9c Replace expired msdn link with latest web archive copy
Initial link expired in March, 2016. Latest copy found in web archive is from February, 2016
2020-09-28 17:49:27 -06:00
Rob Winch 5699a36627 Next Development Version 2020-08-04 16:26:54 -05:00
Rob Winch 0f0e973c1e Release 4.2.18.RELEASE 2020-08-04 16:26:16 -05:00
Josh Cummings 9c76f54958 Polish WebSecurityConfigurerAdapter JavaDoc
Issue gh-8784
2020-07-20 15:26:40 -06:00
Romil Patel 14e4a812a1 WebSecurityConfigurerAdapter JavaDoc
Closes gh-8784
2020-07-20 15:26:36 -06:00
Ellie Bahadori be0759302f Use Github Actions PR pipeline and remove Travis for 4.2.x
Closes gh-8715
2020-07-02 04:15:52 -04:00
Rob Winch ff25799f36 Next Development Version 2020-06-03 11:46:10 -05:00
10 changed files with 73 additions and 29 deletions
+22
View File
@@ -0,0 +1,22 @@
name: PR Build
on: pull_request
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: '8'
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
- name: Build with Gradle
run: ./gradlew test --refresh-dependencies --no-daemon
-16
View File
@@ -1,16 +0,0 @@
language: java
jdk:
- openjdk8
os:
- linux
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
script: ./gradlew build
Vendored
+8 -3
View File
@@ -8,6 +8,9 @@ properties(projectProperties)
def SUCCESS = hudson.model.Result.SUCCESS.toString()
currentBuild.result = SUCCESS
def ARTIFACTORY_CREDENTIALS = usernamePassword(credentialsId: '02bd1690-b54f-4c9f-819d-a77cb7a9822c', usernameVariable: 'ARTIFACTORY_USERNAME', passwordVariable: 'ARTIFACTORY_PASSWORD')
try {
parallel check: {
stage('Check') {
@@ -15,8 +18,10 @@ try {
checkout scm
sh "git clean -dfx"
try {
withEnv(["JAVA_HOME=${ tool 'jdk8' }"]) {
sh "./gradlew test --refresh-dependencies --no-daemon --stacktrace"
withCredentials([ARTIFACTORY_CREDENTIALS]) {
withEnv(["JAVA_HOME=${ tool 'jdk8' }"]) {
sh "./gradlew test -PartifactoryUsername=$ARTIFACTORY_USERNAME -PartifactoryPassword=$ARTIFACTORY_PASSWORD --refresh-dependencies --no-daemon --stacktrace"
}
}
} catch(Exception e) {
currentBuild.result = 'FAILED: check'
@@ -37,7 +42,7 @@ try {
withCredentials([file(credentialsId: 'spring-signing-secring.gpg', variable: 'SIGNING_KEYRING_FILE')]) {
withCredentials([string(credentialsId: 'spring-gpg-passphrase', variable: 'SIGNING_PASSWORD')]) {
withCredentials([usernamePassword(credentialsId: 'oss-token', passwordVariable: 'OSSRH_PASSWORD', usernameVariable: 'OSSRH_USERNAME')]) {
withCredentials([usernamePassword(credentialsId: '02bd1690-b54f-4c9f-819d-a77cb7a9822c', usernameVariable: 'ARTIFACTORY_USERNAME', passwordVariable: 'ARTIFACTORY_PASSWORD')]) {
withCredentials([ARTIFACTORY_CREDENTIALS]) {
withEnv(["JAVA_HOME=${ tool 'jdk8' }"]) {
sh "./gradlew deployArtifacts finalizeDeployArtifacts -Psigning.secretKeyRingFile=$SIGNING_KEYRING_FILE -Psigning.keyId=$SPRING_SIGNING_KEYID -Psigning.password='$SIGNING_PASSWORD' -PossrhUsername=$OSSRH_USERNAME -PossrhPassword=$OSSRH_PASSWORD -PartifactoryUsername=$ARTIFACTORY_USERNAME -PartifactoryPassword=$ARTIFACTORY_PASSWORD --refresh-dependencies --no-daemon --stacktrace"
}
-2
View File
@@ -1,7 +1,5 @@
image::https://badges.gitter.im/Join%20Chat.svg[Gitter,link=https://gitter.im/spring-projects/spring-security?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge]
image:https://travis-ci.org/spring-projects/spring-security.svg?branch=master["Build Status", link="https://travis-ci.org/spring-security/spring-security"]
= Spring Security
Spring Security provides security services for the https://docs.spring.io[Spring IO Platform]. Spring Security 3.1 requires Spring 3.0.3 as
+28 -4
View File
@@ -1,7 +1,14 @@
buildscript {
repositories {
maven { url "https://repo.spring.io/plugins-release" }
maven { url "https://repo.spring.io/plugins-snapshot" }
maven {
url = 'https://repo.spring.io/plugins-snapshot'
if (project.hasProperty('artifactoryUsername')) {
credentials {
username "$artifactoryUsername"
password "$artifactoryPassword"
}
}
}
}
dependencies {
classpath "com.github.ben-manes:gradle-versions-plugin:0.17.0"
@@ -34,8 +41,8 @@ allprojects {
ext.releaseBuild = version.endsWith('RELEASE')
ext.snapshotBuild = version.endsWith('SNAPSHOT')
ext.springVersion = '4.3.26.RELEASE'
ext.springLdapVersion = '2.3.2.RELEASE'
ext.springVersion = '4.3.30.RELEASE'
ext.springLdapVersion = '2.3.3.RELEASE'
group = 'org.springframework.security'
@@ -203,3 +210,20 @@ artifacts {
archives project(':docs').docsZip
archives project(':docs').schemaZip
}
if (project.hasProperty('artifactoryUsername')) {
allprojects { project ->
project.repositories { repos ->
all { repo ->
if (!repo.url.toString().startsWith("https://repo.spring.io/")) {
return;
}
repo.credentials {
username = artifactoryUsername
password = artifactoryPassword
}
}
}
}
}
@@ -325,6 +325,13 @@ public abstract class WebSecurityConfigurerAdapter implements
/**
* Override this method to configure {@link WebSecurity}. For example, if you wish to
* ignore certain requests.
*
* Endpoints specified in this method will be ignored by Spring Security, meaning it
* will not protect them from CSRF, XSS, Clickjacking, and so on.
*
* Instead, if you want to protect endpoints against common vulnerabilities, then see
* {@link #configure(HttpSecurity)} and the {@link HttpSecurity#authorizeRequests}
* configuration method.
*/
public void configure(WebSecurity web) throws Exception {
}
@@ -338,6 +345,10 @@ public abstract class WebSecurityConfigurerAdapter implements
* http.authorizeRequests().anyRequest().authenticated().and().formLogin().and().httpBasic();
* </pre>
*
* Any endpoint that requires defense against common vulnerabilities can be specified here, including public ones.
* See {@link HttpSecurity#authorizeRequests} and the `permitAll()` authorization rule
* for more details on public endpoints.
*
* @param http the {@link HttpSecurity} to modify
* @throws Exception if an error occurs
*/
@@ -160,7 +160,7 @@ public class HeadersConfigurer<H extends HttpSecurityBuilder<H>> extends
*
* <p>
* Allows customizing the {@link XXssProtectionHeaderWriter} which adds the <a href=
* "https://blogs.msdn.com/b/ieinternals/archive/2011/01/31/controlling-the-internet-explorer-xss-filter-with-the-x-xss-protection-http-header.aspx"
* "https://web.archive.org/web/20160201174302/https://blogs.msdn.com/b/ieinternals/archive/2011/01/31/controlling-the-internet-explorer-xss-filter-with-the-x-xss-protection-http-header.aspx"
* >X-XSS-Protection header</a>
* </p>
*
@@ -40,7 +40,7 @@ public class SpringSecurityCoreVersion {
*/
public static final long SERIAL_VERSION_UID = 420L;
static final String MIN_SPRING_VERSION = "4.3.26.RELEASE";
static final String MIN_SPRING_VERSION = "4.3.30.RELEASE";
static {
performVersionChecks();
+1 -1
View File
@@ -1,3 +1,3 @@
version=4.2.17.RELEASE
version=4.2.20.RELEASE
+1 -1
View File
@@ -2,7 +2,7 @@ apply plugin: 'war'
apply plugin: 'jetty'
apply plugin: 'appengine'
def gaeVersion="1.9.79"
def gaeVersion="1.9.83"
buildscript {
repositories {