Spring Security
Go to file
Josh Cummings d86550f64b
Polish Tests and Error Messages
MockMvc matchers are best matched with the MockMvc execution API -
it's a little odd to try and use them inside of an AssertJ assertion
since they do their own asserting.

It's more readable to place "this." in front of member variables.

It's best to test just one class at a time in a unit test.

Issue: gh-4187
2019-02-28 11:01:08 -07:00
.github Add GitHub Issue reply templates 2019-01-09 14:45:08 -05:00
acl JdbcAclService: fixes PostgreSql issue 2018-12-17 10:05:03 -06:00
aspects Use diamond type 2017-12-21 15:09:00 -06:00
bom Use spring-build-conventions Bom plugin 2018-01-09 11:27:34 -06:00
buildSrc Update to Gradle 5.0 2018-11-30 08:50:47 -06:00
cas Replace isEqualTo(null) with isNull() 2018-08-09 18:04:48 -06:00
config Add Support for Clear Site Data on Logout 2019-02-28 11:01:08 -07:00
core fixes setting paramName only when it is not null 2019-01-10 10:13:44 -06:00
crypto Add BCrypt Test for Empty Raw Password 2019-01-08 11:54:36 -06:00
data Remove Deprecated EvaluationContextExtensionSupport Usage 2018-09-19 16:52:16 -05:00
docs Add Support for Clear Site Data on Logout 2019-02-28 11:01:08 -07:00
etc Upgrade spring-build-conventions to 0.0.18.RELEASE 2018-08-27 10:45:35 -05:00
gradle Update to nimbus-jose-jwt:6.7 2019-01-22 16:41:08 -07:00
itest Fix WhitespaceAfterCheck Checkstyle check 2018-08-27 10:45:35 -05:00
ldap Fix ApacheDSContainer Checkstyle 2019-01-14 13:29:11 -06:00
messaging Use diamond type 2017-12-21 15:09:00 -06:00
oauth2 Add PKCE OAuth2 client support 2019-02-28 11:38:48 -05:00
openid Replace isEqualTo(null) with isNull() 2018-08-09 18:04:48 -06:00
remoting Use diamond type 2017-12-21 15:09:00 -06:00
samples Client OAuth2 properties to use scope not scopes 2019-02-08 11:54:18 -05:00
scripts Add scripts/s101.sh 2018-07-14 22:40:44 -05:00
taglibs Migrated unit test TldTests.groovy to TldTests.java 2018-10-22 11:55:34 -05:00
test Fix Generics in ReactorContextTestExecutionListenerTests for JDK 9+ 2018-11-30 12:07:58 -06:00
web Polish Tests and Error Messages 2019-02-28 11:01:08 -07:00
.editorconfig Improve EditorConfig file 2018-03-16 15:50:34 -05:00
.gitignore ignore s101 metadata 2017-10-26 19:22:39 -05:00
.travis.yml .travis continue on failure 2017-12-20 15:38:22 -06:00
CODE_OF_CONDUCT.adoc SEC-3209: Add Code of Conduct 2016-02-01 14:23:59 -06:00
CONTRIBUTING.md Fixed Git SCM book link 2018-11-30 14:54:46 -06:00
Jenkinsfile Split Branches Into Multiple Sonarqube Projects 2018-12-17 17:05:24 -07:00
README.adoc Fixed broken links 2019-02-15 15:41:16 -06:00
build.gradle Update to spring-build-conventions 0.0.23.RELEASE 2019-01-15 05:44:41 -05: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 Next Development Version 2019-01-15 21:02:38 -06:00
gradlew Update to Gradle 5.0 2018-11-30 08:50:47 -06:00
gradlew.bat Update to Gradle 5.0 2018-11-30 08:50:47 -06: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 Fix settings.gradle on Windows 2018-08-22 10:21:41 -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]

image:https://travis-ci.org/spring-projects/spring-security.svg?branch=master["Build Status", link="https://travis-ci.org/spring-projects/spring-security"]

= Spring Security

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

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 https://docs.spring.io/spring-security/site/docs/current/api/[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[JDK8 build].

Be sure that your `JAVA_HOME` environment variable points to the `jdk1.8.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
https://help.github.com/articles/creating-a-pull-request[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].