소스 검색

Allow negative values to configure unlimited sessions

Michael J. Simons 9 년 전
부모
커밋
e3ff4130a5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      config/src/main/resources/org/springframework/security/config/spring-security-4.2.xsd

+ 1 - 1
config/src/main/resources/org/springframework/security/config/spring-security-4.2.xsd

@@ -1753,7 +1753,7 @@
   </xs:attributeGroup>
   
   <xs:attributeGroup name="concurrency-control.attlist">
-      <xs:attribute name="max-sessions" type="xs:positiveInteger">
+      <xs:attribute name="max-sessions" type="xs:integer">
          <xs:annotation>
             <xs:documentation>The maximum number of sessions a single authenticated user can have open at the same time.
                 Defaults to "1".