You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/JdbcOAuth2AuthorizationService.java
+38-40Lines changed: 38 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2020-2021 the original author or authors.
2
+
* Copyright 2020-2022 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -141,9 +141,10 @@ public class JdbcOAuth2AuthorizationService implements OAuth2AuthorizationServic
141
141
142
142
privatestaticfinalStringREMOVE_AUTHORIZATION_SQL = "DELETE FROM " + TABLE_NAME + " WHERE " + PK_FILTER;
// NOTE: When using HSQL: When a database object is created with one of the CREATE statements if the name is enclosed in double quotes, the exact name is used as the case-normal form.
593
-
// But if it is not enclosed in double quotes, the name is converted to uppercase and this uppercase version is stored in the database as the case-normal form
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/main/resources/org/springframework/security/oauth2/server/authorization/oauth2-authorization-schema-postgres.sql
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/main/resources/org/springframework/security/oauth2/server/authorization/oauth2-authorization-schema.sql
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,8 @@
1
+
/*
2
+
IMPORTANT:
3
+
If using PostgreSQL, update ALL columns defined with 'blob' to 'text',
4
+
as PostgreSQL does not support the 'blob' data type.
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/test/java/org/springframework/security/oauth2/server/authorization/JdbcOAuth2AuthorizationServiceTests.java
+8-11Lines changed: 8 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2020-2021 the original author or authors.
2
+
* Copyright 2020-2022 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/test/resources/org/springframework/security/oauth2/server/authorization/custom-oauth2-authorization-schema-clob-data-type.sql
+1-16Lines changed: 1 addition & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,9 @@
1
-
/*
2
-
* Copyright 2020-2022 the original author or authors.
3
-
*
4
-
* Licensed under the Apache License, Version 2.0 (the "License");
5
-
* you may not use this file except in compliance with the License.
6
-
* You may obtain a copy of the License at
7
-
*
8
-
* https://www.apache.org/licenses/LICENSE-2.0
9
-
*
10
-
* Unless required by applicable law or agreed to in writing, software
11
-
* distributed under the License is distributed on an "AS IS" BASIS,
12
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
-
* See the License for the specific language governing permissions and
0 commit comments