1- <?xml version =" 1.0" encoding =" UTF-8" ?>
2- <!-- ~ Copyright 2002-2020 the original author or authors. ~ ~ Licensed under
3- the Apache License, Version 2.0 (the "License"); ~ you may not use this file
4- except in compliance with the License. ~ You may obtain a copy of the License
5- at ~ ~ https://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by
6- applicable law or agreed to in writing, software ~ distributed under the
7- License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS
8- OF ANY KIND, either express or implied. ~ See the License for the specific
9- language governing permissions and ~ limitations under the License. -->
10-
11- <b : beans xmlns : b =" http://www.springframework.org/schema/beans"
12- xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
13- xmlns=" http://www.springframework.org/schema/security"
14- xsi:schemaLocation="
15- http://www.springframework.org/schema/security
16- https://www.springframework.org/schema/security/spring-security.xsd
17- http://www.springframework.org/schema/beans
18- https://www.springframework.org/schema/beans/spring-beans.xsd" >
19-
20- <http auto-config =" true" >
21- <session-management
22- session-authentication-error-url=" /max-exceeded" >
23- <concurrency-control
24- max-sessions=" ${sessionManagement.maxSessions}"
25- error-if-maximum-exceeded=" true" />
26- </session-management >
27- </http >
28-
29- <b : bean name =" basicController"
30- class=" org.springframework.security.config.http.SessionManagementConfigTests.BasicController" />
31-
32- <b : import resource =" userservice.xml" />
33- </b : beans >
1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!--
3+ ~ Copyright 2002-2021 the original author or authors.
4+ ~
5+ ~ Licensed under the Apache License, Version 2.0 (the "License");
6+ ~ you may not use this file except in compliance with the License.
7+ ~ You may obtain a copy of the License at
8+ ~
9+ ~ https://www.apache.org/licenses/LICENSE-2.0
10+ ~
11+ ~ Unless required by applicable law or agreed to in writing, software
12+ ~ distributed under the License is distributed on an "AS IS" BASIS,
13+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ ~ See the License for the specific language governing permissions and
15+ ~ limitations under the License.
16+ -->
17+ <b : beans xmlns : b =" http://www.springframework.org/schema/beans"
18+ xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
19+ xmlns=" http://www.springframework.org/schema/security"
20+ xsi:schemaLocation="
21+ http://www.springframework.org/schema/security
22+ https://www.springframework.org/schema/security/spring-security.xsd
23+ http://www.springframework.org/schema/beans
24+ https://www.springframework.org/schema/beans/spring-beans.xsd" >
25+
26+ <http auto-config =" true" >
27+ <session-management
28+ session-authentication-error-url=" /max-exceeded" >
29+ <concurrency-control
30+ max-sessions=" ${sessionManagement.maxSessions}"
31+ error-if-maximum-exceeded=" true" />
32+ </session-management >
33+ </http >
34+
35+ <b : bean name =" basicController"
36+ class=" org.springframework.security.config.http.SessionManagementConfigTests.BasicController" />
37+
38+ <b : import resource =" userservice.xml" />
39+ </b : beans >
0 commit comments