mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-31 06:33:29 +00:00
Implements minimal SAML 2.0 login/authentication functionality with the following feature set: - Supports IDP initiated login at the default url of /login/saml2/sso/{registrationId} - Supports SP initiated login at the default url of /saml2/authenticate/{registrationId} - Supports basic java-configuration via DSL - Provides an integration sample using Spring Boot Not implemented with this MVP - Single Logout - Dynamic Service Provider Metadata Fixes gh-6019
30 lines
1.1 KiB
Groovy
30 lines
1.1 KiB
Groovy
/*
|
|
* Copyright 2002-2019 the original author or authors.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* https://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
apply plugin: 'io.spring.convention.spring-sample-boot'
|
|
|
|
dependencies {
|
|
compile project(':spring-security-config')
|
|
compile project(':spring-security-saml2-service-provider')
|
|
compile 'org.springframework.boot:spring-boot-starter-thymeleaf'
|
|
compile 'org.springframework.boot:spring-boot-starter-web'
|
|
compile 'org.thymeleaf.extras:thymeleaf-extras-springsecurity5'
|
|
|
|
testCompile project(':spring-security-test')
|
|
testCompile 'net.sourceforge.htmlunit:htmlunit'
|
|
testCompile 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|