702 Commits

Author SHA1 Message Date
viktor
e650cb0c24 Added reading attributes by attribute_key 2020-06-23 19:20:00 +03:00
viktor
1d56a1937b Added license headers to new classes 2020-06-23 16:21:24 +03:00
viktor
79cd0c273e Implemented OAuth2Controller 2020-06-23 15:39:19 +03:00
viktor
6a2bc5a9ff Implemented 'getOAuth2Clients' method 2020-06-23 15:03:24 +03:00
viktor
5a00973b47 Implemented part of OAuth2Service 2020-06-23 14:38:50 +03:00
viktor
c3c889bbbf Added 'deleteAdminSettingByKey' method to AdminSettingsService 2020-06-23 14:37:56 +03:00
viktor
334361577f Changed OAuth2Service, clear Tenant oauth2 config on deletion 2020-06-23 12:39:30 +03:00
viktor
b20b032f0b Added saveSystemOAuth2ClientRegistration method 2020-06-23 11:05:46 +03:00
vzikratyi
ac8cfebe31 Removed .yml oauth2 configs 2020-06-22 18:20:51 +03:00
vzikratyi
a6eefa903e Added required methods to OAuth2Service 2020-06-22 17:37:35 +03:00
vzikratyi
6e7d0c633f Small refactoring 2020-06-22 16:19:03 +03:00
vzikratyi
7fcf8a9894 Removed oauth2 entities from DB 2020-06-22 16:00:52 +03:00
vzikratyi
4d2813be85 Added controller + fixes [almost working version] 2020-06-22 15:51:06 +03:00
vzikratyi
7c092c38ea Removed unused ClientRegistrationRepository bean creation 2020-06-19 18:25:18 +03:00
vzikratyi
de7c43d92b Renamed 'user_name_attribute' to 'user_name_attribute_name' 2020-06-19 18:25:01 +03:00
vzikratyi
5586eed4b7 Created HybridClientRegistrationRepository 2020-06-19 18:19:24 +03:00
vzikratyi
f0a68ff9b6 Use ClientRegistration dao to load oauth2 configs 2020-06-19 18:12:50 +03:00
vzikratyi
6ad3de83b7 Moved getting ClientInfo to OAuth2Service 2020-06-19 17:35:31 +03:00
vzikratyi
a4a05fcf30 Refactored 'getClientByRegistrationId' 2020-06-19 16:36:22 +03:00
vzikratyi
d5abe337be Added OAuth2ClientRegistrationService 2020-06-19 16:04:10 +03:00
vzikratyi
7ea9b1a4d1 Refactored OAuth2Dao 2020-06-19 16:03:36 +03:00
vzikratyi
b08d9cc935 Made TenantNameStrategyType as Enum 2020-06-19 15:56:35 +03:00
vzikratyi
cdf0e78176 Added named UNIQUE constraint 2020-06-19 14:05:58 +03:00
vzikratyi
e8bf9b45ef Added repository and dao for OAuth2ClientRegistration 2020-06-19 11:42:45 +03:00
vzikratyi
d7ff230bbd Merged OAuth2 mapper_config with client_registration 2020-06-19 10:41:34 +03:00
vzikratyi
da8ad47389 Fixed schema-entities-hsql.sql and update script 2020-06-18 18:54:44 +03:00
vzikratyi
d01d4ac48b Created oauth2 client_registration and mapper_config (as separate entities) 2020-06-18 18:49:57 +03:00
Igor Kulikov
bd98ce8deb Merge with develop/2.5.2 2020-06-04 10:11:35 +03:00
Igor Kulikov
78a91b8c27 Temporarily version set to 2.5.2-SNAPSHOT 2020-06-04 10:09:02 +03:00
Igor Kulikov
b32e0de731 Version set to 3.0.1-SNAPSHOT 2020-06-04 10:05:41 +03:00
Andrii Shvaika
a532ded5ae Version set to 2.5.2-SNAPSHOT 2020-06-01 16:11:57 +03:00
Igor Kulikov
65fb9a91ec Merge with develop/2.5.1 2020-05-27 14:11:06 +03:00
Andrew Shvayka
bd40edfd14
Merge pull request #2830 from ShvaykaD/develop/2.5.1
added inserts strategy for upgrade to 2.5 if copy to/from files failed
2020-05-27 13:17:17 +03:00
Andrii Shvaika
02dd9ecdb9 Merge with develop/2.5.1 2020-05-25 17:27:02 +03:00
Dmytro Shvaika
f8a355fec8 added upgrade from version 2.5.0 2020-05-25 15:28:55 +03:00
Andrii Shvaika
b25b05c7ff Fix JS Build 2020-05-25 15:05:08 +03:00
viktor
4ed334a5d5 Merge branch 'develop/2.5.1' into oauth2-default-dashboard 2020-05-21 10:26:32 +03:00
viktor
cac7eb0d2b Added 'alwaysFullScreen' and 'defaultDashboardName' oauth2 properties 2020-05-20 18:27:26 +03:00
Andrii Shvaika
dc5eb6395a Version set to 2.5.1-SNAPSHOT 2020-05-13 14:07:31 +03:00
Igor Kulikov
fa5bbcd91b Version set to 2.5.0 2020-05-12 10:28:15 +03:00
Igor Kulikov
2d235cf9eb Improve Cassandra resultSet pagination 2020-05-08 19:34:08 +03:00
Igor Kulikov
76300e400e Update Cassandra Driver 2020-05-08 15:45:54 +03:00
Igor Kulikov
e8ee8cb6d2 Fix tests 2020-05-07 11:09:12 +03:00
Igor Kulikov
0ce5222072 Merge branch 'master' into develop/3.0 2020-05-06 20:04:33 +03:00
VoBa
9b18c408b2
Added activate user config. Fixed https issue (#2737)
* Added activate user config. Fixed https issue

* Update OAuth2User.java

Co-authored-by: Igor Kulikov <ikulikov82@gmail.com>
2020-05-06 19:20:18 +03:00
Igor Kulikov
4d03c51743 Merge with master 2020-05-04 12:23:13 +03:00
Volodymyr Babak
fc46175e99 Renamed env variabled. Added sync 2020-05-04 12:09:21 +03:00
VoBa
c0dfa4861b
[WIP] [3.0] Added OAuth2 Support (#2709)
* Added base impl for OAuth-2

* Added basic and custom OAuth2 user mappers

* Removed comment line

* Refactoring to review. Added tenantId and customerId. Added email tenant name strategy

* Revert debug logger

* Fixed compilation

* Test fixed

* Create UI for OAuthService

* Revert package-lock.json

* Add translate login es_ES

Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
2020-05-04 11:51:08 +03:00
Volodymyr Babak
dab185208a Test fixed 2020-05-04 00:21:58 +03:00
Volodymyr Babak
8dbc550fd3 Refactoring to review. Added tenantId and customerId. Added email tenant name strategy 2020-05-04 00:21:58 +03:00