Spring Security
Go to file
Rob Winch 618b8a2d83 Fix WebTestUtils when no matching HttpSecurity found
Previously a NullPointerException would be thrown if no HttpSecurity
matched on the request passed in. This was because findFilters would
return null rather than an empty List.

This commit returns null if findFilters gets a null result.

Fixes gh-3343
2016-03-09 15:20:10 -06:00
acl Convert to assertj 2016-03-09 14:30:17 -06:00
aspects Start AssertJ Migration 2016-03-09 14:26:30 -06:00
bom SEC-2915: groovy/gradle spaces->tabs 2015-03-25 13:08:59 -05:00
buildSrc SEC-2963: Update to latest Google AppEngine 2015-07-20 12:36:29 -05:00
cas Convert to assertj 2016-03-09 14:30:17 -06:00
config Convert to assertj 2016-03-09 14:30:17 -06:00
core Convert to assertj 2016-03-09 14:30:17 -06:00
crypto Convert to assertj 2016-03-09 14:30:17 -06:00
data Start AssertJ Migration 2016-03-09 14:26:30 -06:00
docs Fix formatting error in documentation 2016-03-09 15:00:52 -06:00
gradle Start AssertJ Migration 2016-03-09 14:26:30 -06:00
itest Convert to assertj 2016-03-09 14:30:17 -06:00
ldap Convert to assertj 2016-03-09 14:30:17 -06:00
messaging Convert to assertj 2016-03-09 14:30:17 -06:00
openid Convert to assertj 2016-03-09 14:30:17 -06:00
remoting Convert to assertj 2016-03-09 14:30:17 -06:00
samples Convert to assertj 2016-03-09 14:30:17 -06:00
sandbox SEC-2915: More Tabs -> Spaces 2015-04-17 11:34:34 -05:00
taglibs Convert to assertj 2016-03-09 14:30:17 -06:00
test Fix WebTestUtils when no matching HttpSecurity found 2016-03-09 15:20:10 -06:00
web Improve CSRF missing error message 2016-03-09 14:52:21 -06:00
.gitignore SEC-2560: Remove samples from .gitignore and add missing sample files 2014-04-16 21:17:02 -05:00
CODE_OF_CONDUCT.adoc SEC-3209: Add Code of Conduct 2016-02-01 14:23:59 -06:00
CONTRIBUTING.md Update CONTRIBUTING to specify tabs 2016-03-03 10:21:15 -06:00
README.adoc SEC-3209: Add Code of Conduct 2016-02-01 14:23:59 -06:00
build.gradle Update to Spring 4.2.5 2016-02-25 11:35:17 -06:00
class_mapping_from_2.0.x.txt SEC-1148: Simple classname mapping from 2.0 to 3.0 2009-12-02 22:44:30 +00:00
gradle.properties Start 4.1.0 2015-08-18 13:58:01 -05:00
gradlew SEC-2783: Add more PermGen to work around Tomcat Gradle Bug 2014-12-08 21:06:36 -06:00
gradlew.bat SEC-1906: Fix EmmaPlugin for Gradle 1.0 2012-07-05 22:57:16 -05:00
license.txt Change to Apache License version 2.0. 2004-03-23 04:44:48 +00:00
notice.txt Broaden list of names used and correct URL. 2007-12-03 04:39:17 +00:00
settings.gradle SEC-2915: groovy/gradle spaces->tabs 2015-03-25 13:08:59 -05:00

README.adoc

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]

= Spring Security

Spring Security provides security services for the http://docs.spring.io[Spring IO Platform]. Spring Security 3.1 requires Spring 3.0.3 as
a minimum and also requires Java 5.

For a detailed list of features and access to the latest release, please visit http://spring.io/projects[Spring projects].

== Code of Conduct
This project adheres to the Contributor Covenant link:CODE_OF_CONDUCT.adoc[code of conduct].
By participating, you  are expected to uphold this code. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.

== Downloading Artifacts
See https://github.com/spring-projects/spring-framework/wiki/Downloading-Spring-artifacts[downloading Spring artifacts] for Maven repository information.

== Documentation
Be sure to read the http://docs.spring.io/spring-security/site/docs/current/reference/htmlsingle/[Spring Security Reference].
Extensive JavaDoc for the Spring Security code is also available in the http://docs.spring.io/spring-security/site/docs/current/apidocs/[Spring Security API Documentation].

== Quick Start
We recommend you visit http://docs.spring.io/spring-security/site/docs/current/reference/htmlsingle/[Spring Security Reference] and read the "Getting Started" page.

== Building from Source
Spring Security uses a http://gradle.org[Gradle]-based build system.
In the instructions below, http://vimeo.com/34436402[`./gradlew`] is invoked from the root of the source tree and serves as
a cross-platform, self-contained bootstrap mechanism for the build.

=== Prerequisites
http://help.github.com/set-up-git-redirect[Git] and the http://www.oracle.com/technetwork/java/javase/downloads[JDK7 build].

Be sure that your `JAVA_HOME` environment variable points to the `jdk1.7.0` folder extracted from the JDK download.

=== Check out sources
[indent=0]
----
git clone git@github.com:spring-projects/spring-security.git
----

=== Install all spring-\* jars into your local Maven cache
[indent=0]
----
./gradlew install
----

=== Compile and test; build all jars, distribution zips, and docs
[indent=0]
----
./gradlew build
----

Discover more commands with `./gradlew tasks`.
See also the https://github.com/spring-projects/spring-framework/wiki/Gradle-build-and-release-FAQ[Gradle build and release FAQ].

== Getting Support
Check out the http://stackoverflow.com/questions/tagged/spring-security[Spring Security tags on Stack Overflow].
http://spring.io/services[Commercial support] is available too.

== Contributing
http://help.github.com/send-pull-requests[Pull requests] are welcome; see the https://github.com/spring-projects/spring-security/blob/master/CONTRIBUTING.md[contributor guidelines] for details.

== License
Spring Security is Open Source software released under the
http://www.apache.org/licenses/LICENSE-2.0.html[Apache 2.0 license].