Provide JDBC implementation of OAuth2AuthorizationConsentService

Add new JDBC implementation of the OAuth2AuthorizationConsentService
Add equals and hashCode methods in OAuth2AuthorizationConsent

Closes gh-313
This commit is contained in:
Ovidiu Popa
2021-06-16 18:05:55 +03:00
committed by Steve Riesenberg
parent 8e9563a440
commit 5dbe973701
4 changed files with 504 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
CREATE TABLE oauth2_authorization_consent (
registered_client_id varchar(100) NOT NULL,
principal_name varchar(200) NOT NULL,
authorities varchar(1000) NOT NULL,
PRIMARY KEY (registered_client_id, principal_name)
);