parent
c907838440
commit
337d24e6db
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2020 the original author or authors.
|
* Copyright 2002-2021 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2020 the original author or authors.
|
* Copyright 2002-2021 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
|
@ -1,33 +1,39 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- ~ Copyright 2002-2020 the original author or authors. ~ ~ Licensed under
|
<!--
|
||||||
the Apache License, Version 2.0 (the "License"); ~ you may not use this file
|
~ Copyright 2002-2021 the original author or authors.
|
||||||
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
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
applicable law or agreed to in writing, software ~ distributed under the
|
~ you may not use this file except in compliance with the License.
|
||||||
License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS
|
~ You may obtain a copy of the License at
|
||||||
OF ANY KIND, either express or implied. ~ See the License for the specific
|
~
|
||||||
language governing permissions and ~ limitations under the License. -->
|
~ https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
~
|
||||||
<b:beans xmlns:b="http://www.springframework.org/schema/beans"
|
~ Unless required by applicable law or agreed to in writing, software
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
xmlns="http://www.springframework.org/schema/security"
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
xsi:schemaLocation="
|
~ See the License for the specific language governing permissions and
|
||||||
http://www.springframework.org/schema/security
|
~ limitations under the License.
|
||||||
https://www.springframework.org/schema/security/spring-security.xsd
|
-->
|
||||||
http://www.springframework.org/schema/beans
|
<b:beans xmlns:b="http://www.springframework.org/schema/beans"
|
||||||
https://www.springframework.org/schema/beans/spring-beans.xsd">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xmlns="http://www.springframework.org/schema/security"
|
||||||
<http auto-config="true">
|
xsi:schemaLocation="
|
||||||
<session-management
|
http://www.springframework.org/schema/security
|
||||||
session-authentication-error-url="/max-exceeded">
|
https://www.springframework.org/schema/security/spring-security.xsd
|
||||||
<concurrency-control
|
http://www.springframework.org/schema/beans
|
||||||
max-sessions="${sessionManagement.maxSessions}"
|
https://www.springframework.org/schema/beans/spring-beans.xsd">
|
||||||
error-if-maximum-exceeded="true" />
|
|
||||||
</session-management>
|
<http auto-config="true">
|
||||||
</http>
|
<session-management
|
||||||
|
session-authentication-error-url="/max-exceeded">
|
||||||
<b:bean name="basicController"
|
<concurrency-control
|
||||||
class="org.springframework.security.config.http.SessionManagementConfigTests.BasicController"/>
|
max-sessions="${sessionManagement.maxSessions}"
|
||||||
|
error-if-maximum-exceeded="true" />
|
||||||
<b:import resource="userservice.xml"/>
|
</session-management>
|
||||||
</b:beans>
|
</http>
|
||||||
|
|
||||||
|
<b:bean name="basicController"
|
||||||
|
class="org.springframework.security.config.http.SessionManagementConfigTests.BasicController"/>
|
||||||
|
|
||||||
|
<b:import resource="userservice.xml"/>
|
||||||
|
</b:beans>
|
||||||
|
|
Loading…
Reference in New Issue