Commit graph

2266 commits

Author SHA1 Message Date
Stian Thorgersen
d083909136 Added support for default application roles. Added authz to account, user (or client if oauth) is required to have role manage-account to manage their account, this is a default role for the Account application. 2013-11-04 17:21:46 +00:00
Stian Thorgersen
c6f43baf0d Allow oauth clients to ask for permission to view user profile, and manage user account 2013-11-03 16:14:15 +00:00
Stian Thorgersen
7f691b463c KEYCLOAK-75 Retrieve user profile 2013-11-03 13:33:22 +00:00
Stian Thorgersen
85220ba054 Clean-up in social core 2013-11-01 16:41:16 +00:00
Stian Thorgersen
2ff46353bc Moved SocialRequestManager from social/core to services 2013-11-01 15:59:33 +00:00
Bill Burke
d6ee6aef9f adapter cors support 2013-10-30 08:28:23 -04:00
Bill Burke
0f03670c06 Merge remote-tracking branch 'upstream/master' 2013-10-25 18:04:35 -04:00
Bill Burke
6e6dccd339 cors token modifications 2013-10-25 18:03:28 -04:00
vrockai
2f9aa14a7d KEYCLOAK-115 fixing message headers 2013-10-25 15:15:53 +01:00
vrockai
508a9a1e6b KEYCLOAK-115 add social provider config page 2013-10-25 15:14:19 +01:00
Stian Thorgersen
45b5f5afd5 Add setting realm.accessCodeLifespanUserAction in admin console 2013-10-25 12:39:25 +01:00
Stian Thorgersen
2bb3753289 Added prompt option to auth/login. If prompt='none' is specified the authentication form or grant forms will not be displayed, instead an error is returned 2013-10-24 10:54:00 +01:00
Stian Thorgersen
3ee6f02068 Fix for KEYCLOAK-116 2013-10-22 14:14:31 +01:00
Stian Thorgersen
bb3a82f932 KEYCLOAK-116
Use social provider settings from realm
2013-10-22 14:05:56 +01:00
Stian Thorgersen
6e3dd959eb KEYCLOAK-114 Use SMTP server settings from realm 2013-10-22 13:47:30 +01:00
Stian Thorgersen
a88dcace3d Added maps for social config and smtp server to realm 2013-10-22 13:47:30 +01:00
Bill Burke
158f85cb7a Merge remote-tracking branch 'upstream/master' 2013-10-21 14:49:56 -04:00
vrockai
f7d6c41304 KEYCLOAK-112 - fixing various forms UI related issues 2013-10-21 18:23:53 +02:00
Stian Thorgersen
115c0bdeca Converted QR servlet into JAX-RS resource 2013-10-21 11:50:29 +01:00
Stian Thorgersen
d79d299073 Made account management an optional feature on a realm, and added login and logout to account management pages 2013-10-19 16:24:58 +01:00
stianst
8de6224501 Merge pull request #78 from vrockai/KEYCLOAK-108
KEYCLOAK-108 add warning alerts to req action forms
2013-10-19 02:09:09 -07:00
Bill Burke
645cfa5beb Merge remote-tracking branch 'upstream/master' 2013-10-18 15:47:49 -04:00
Bill Burke
1d75b50acb cors 2013-10-18 15:47:33 -04:00
Stian Thorgersen
34fe0a751c Added cors support to TokenService.accessCodeToToken 2013-10-18 19:17:11 +01:00
Stian Thorgersen
1c90e16629 Added redirect uris to application 2013-10-18 19:17:11 +01:00
vrockai
89ca52e960 KEYCLOAK-108 add warning alerts to req action forms 2013-10-18 14:45:28 +02:00
Bill Burke
5851430983 Merge pull request #76 from patriot1burke/master
bootstrapping 2
2013-10-17 12:47:55 -07:00
Bill Burke
2a6b6ebef5 stuff 2013-10-17 13:53:46 -04:00
Stian Thorgersen
79c1230a9d Added redirect uris to application 2013-10-17 15:25:06 +01:00
Stian Thorgersen
1d5ef3d541 Added separate service to process required login actions - leaving AccountService for only user account management 2013-10-16 19:49:11 +01:00
Stian Thorgersen
77159861e8 Move required actions into separate service 2013-10-16 18:17:26 +01:00
vrockai
5ec74be39e KEYCLOAK-38 Adding OAuth Grant to forms 2013-10-16 19:04:02 +02:00
Bill Burke
ba082b0d6d Merge remote-tracking branch 'upstream/master' 2013-10-16 08:27:06 -04:00
Bill Burke
13c75c02e1 bootstrap 2013-10-16 08:26:33 -04:00
vrockai
71f3d00e31 KEYCLOAK-107 fix for login form error feedback issues 2013-10-16 14:02:36 +02:00
Bill Burke
fc92ead9be Merge remote-tracking branch 'upstream/master' 2013-10-14 09:59:28 -04:00
Bill Burke
5f7f4aeb30 merge 2013-10-14 09:59:19 -04:00
vrockai
23f2fb9125 KEYCLOAK-84 added totp test and better form feedback 2013-10-14 10:57:24 +02:00
vrockai
a0808ad224 KEYCLOAK-84 add totp remove button functionality 2013-10-14 10:57:24 +02:00
Stian Thorgersen
4af43fb63e Fix path for resources in formflows 2013-10-10 13:03:56 +01:00
mposolda
7b357fbfec Don't use keycloak-model-mongo model by default 2013-10-10 12:38:06 +02:00
mposolda
6ac643c45b Creating MongoDBSessionFactory in KeycloakApplication via reflection to avoid compile-time dependency on mongo module 2013-10-10 10:43:54 +02:00
mposolda
453e1c5cf7 Added ServletContextListener for start of embedded MongoDB at Keycloak deploy. Added PropertiesManager 2013-10-10 10:43:54 +02:00
mposolda
71cd9cffa4 Rebased MongoDB on top of latest master. Divide testsuite into integration and performance submodules 2013-10-10 10:43:54 +02:00
mposolda
ae4bd42ff7 Add support for TOTP in MongoDB 2013-10-10 10:28:36 +02:00
mposolda
86cf090909 Adapt MongoDB impl with latest changes on UserModel and RealmModel. Support for Enums in Converter SPI 2013-10-10 10:28:36 +02:00
mposolda
58d862819a Added performance tests to testsuite to compare Picketlink+JPA+MySQL with Mongo. 2013-10-10 10:28:36 +02:00
mposolda
68ed19f15d Support MongoDB in unit tests. Added parameterized test, so ImportTest and AdapterTest work with both picketlink and mongo 2013-10-10 10:28:35 +02:00
mposolda
4db738689f Mongo: Remove realmAdmins when realm is removed. Refactored Converters to support list of embedded objects 2013-10-10 10:28:35 +02:00
mposolda
be48672ba6 Added system properties to support switch between picketlink and mongo. Support for Mongo data objects without ID or @DBCollection 2013-10-10 10:28:35 +02:00
mposolda
5b8908c822 Added NoSQLQueryBuilder API. Support for persistence of all objects. All unit tests are passing and UI is working with MongoDB 2013-10-10 10:28:35 +02:00
mposolda
815e466d43 Adding TypeConverters. AdapterTest.test1CreateRealm() is passing for MongoDB 2013-10-10 10:28:35 +02:00
mposolda
0acc9e978a Added first version of NoSQL api and MongoDBImpl implementation 2013-10-10 10:28:35 +02:00
Bill Burke
7226a10abc mv admin ui to module 2013-10-09 19:39:56 -04:00
Bill Burke
e730b5a2aa Merge remote-tracking branch 'upstream/master' 2013-10-09 17:28:09 -04:00
Bill Burke
b58b2c760f scope mapping, oauth client 2013-10-09 17:27:45 -04:00
Stian Thorgersen
453834e807 Added utils for testing Keycloak - includes a quick and easy way to start keycloak, a mail server and a google authenticator simulator 2013-10-09 20:36:12 +01:00
Stian Thorgersen
5ccb557f7c KEYCLOAK-88
Reset expiration on AccessCode before sending to application
2013-10-09 17:05:18 +01:00
Bill Burke
a3945c85bc Merge pull request #57 from patriot1burke/master
app password
2013-10-06 15:42:08 -07:00
Bill Burke
7613df71c2 app password 2013-10-06 18:41:35 -04:00
vrockai
b1715c3725 KEYCLOAK-83 add error page 2013-10-03 17:44:05 +02:00
Bill Burke
a4e3431445 model module refactor 2013-10-02 09:54:26 -04:00
stianst
02d5d709ed Merge pull request #49 from vrockai/KEYCLOAK-74_2
KEYCLOAK-74 email verification fixes
2013-10-01 07:06:31 -07:00
vrockai
ee42b74c17 KEYCLOAK-74 email verification fixes 2013-10-01 15:48:46 +02:00
stianst
6071c9a724 Merge pull request #47 from vrockai/KEYCLOAK-74_2
KEYCLOAK-74 Adapting the Forget password forms to original design
2013-10-01 01:28:04 -07:00
vrockai
144f5f9cfd KEYCLOAK-74 Adapting the Forget password forms to original design 2013-09-30 19:10:23 +02:00
Bill Burke
4b24780038 Merge pull request #46 from patriot1burke/master
split up realm settings
2013-09-27 12:59:15 -07:00
Bill Burke
86a2617799 split up realm settings 2013-09-27 15:57:30 -04:00
vrockai
a6bc0ff447 KEYCLOAK-74 SaasServise fix 2013-09-27 16:09:33 +02:00
vrockai
32779d956a KEYCLOAK-74 name to 1st/last name in registration form 2013-09-27 15:55:13 +02:00
Stian Thorgersen
10ea1af8a5 Realm not updated after setting social enabled 2013-09-27 13:09:35 +01:00
Bill Burke
8559e599e1 Merge pull request #42 from patriot1burke/master
application role mappings
2013-09-26 16:43:52 -07:00
Bill Burke
40d9e7b6f7 application role mappings 2013-09-26 19:43:16 -04:00
Bill Burke
f07f4b35ba Merge pull request #41 from patriot1burke/master
application roles
2013-09-26 14:48:12 -07:00
Bill Burke
c8be9e01f8 application roles 2013-09-26 17:47:43 -04:00
Stian Thorgersen
b5a9cfc57e Removed Arquillian Drone and Graphene from testsuite 2013-09-26 14:12:25 +01:00
Bill Burke
2b947bd7f2 Merge pull request #40 from patriot1burke/master
role mappings
2013-09-26 06:08:56 -07:00
Bill Burke
aae3a0ffee role mappings 2013-09-26 09:08:15 -04:00
Bill Burke
195b06616f Merge pull request #38 from patriot1burke/master
role mapping
2013-09-25 07:44:26 -07:00
Bill Burke
27fe017b6c role mapping 2013-09-25 10:43:33 -04:00
Stian Thorgersen
5786087d7b Fix login and register for saas 2013-09-24 12:53:47 +01:00
Stian Thorgersen
85568f80b2 Added forms for login actions + some refactoring to required user actions 2013-09-23 15:26:09 +01:00
Stian Thorgersen
eaeed0b9dd Redirect to next required action if there are multiple actions 2013-09-21 12:51:33 +01:00
Stian Thorgersen
b541679ef3 No need to check if there are more required actions 2013-09-21 12:51:09 +01:00
Stian Thorgersen
d585f2f22f Removed unused import 2013-09-21 12:50:42 +01:00
Stian Thorgersen
72315bb9d7 Improvements to required user actions. Including adding support for required actions to AccessCodeEntry. Added test for temporary password. 2013-09-21 12:21:46 +01:00
Bill Burke
4422d9609b Merge pull request #37 from patriot1burke/master
roles
2013-09-20 17:18:21 -07:00
Bill Burke
fb2c2c91b7 roles 2013-09-20 20:17:27 -04:00
stianst
a6e2f2ef18 Merge pull request #36 from vrockai/KEYCLOAK-60
KEYCLOAK-60 Replace JSF with FreeMarker template engine
2013-09-20 07:39:24 -07:00
Stian Thorgersen
0c76a493b9 Fix ModelTest - forgot to close session and factory 2013-09-20 15:20:34 +01:00
vrockai
b5a4d010ba KEYCLOAK-60 Replace JSF with FreeMarker template engine 2013-09-20 15:15:16 +02:00
Stian Thorgersen
32fcd46e08 Added option on realm to allow reset password via email 2013-09-20 12:53:44 +01:00
Stian Thorgersen
cdce046711 Suppress error warning from GreenMail on stop 2013-09-20 10:48:15 +01:00
Bill Burke
935f6455c0 merge 2013-09-19 17:40:44 -04:00
Bill Burke
e61833aa43 User screens 2013-09-19 17:22:47 -04:00
Stian Thorgersen
27d1a2d547 KEYCLOAK-55 Lost credential logic 2013-09-19 16:58:22 +01:00
Stian Thorgersen
6a8f838d9c KEYCLOAK-52
AccessCode could expire when oauth-client application (OAuth grant flow) is used
2013-09-18 19:44:56 +01:00
Stian Thorgersen
636b197c4c KEYCLOAK-32
Registration verification email
2013-09-18 19:33:18 +01:00
Stian Thorgersen
e5a81653d9 KEYCLOAK-61 Send emails 2013-09-17 13:07:49 +01:00
Stian Thorgersen
6c124a2172 Added required actions to user. Completed flow for user registering when Realm requires TOTP 2013-09-17 11:24:12 +01:00
Bill Burke
1408475ca1 gabriel css files 2013-09-12 09:52:44 -04:00
Bill Burke
bfe9beae72 merge 2013-09-11 09:44:36 -04:00
Bill Burke
b0bbbeaf7f retire Transaction 2013-09-11 09:28:19 -04:00
Bill Burke
b38889f28c Merge remote-tracking branch 'upstream/master' 2013-09-09 08:31:19 -04:00
mposolda
b33b62d1f7 Handle social registration with prefilled info when triggered from oauth-client application 2013-08-26 16:18:46 +02:00
mposolda
dd3c438e00 KEYCLOAK-25 Added flow with user registration with prefilled attributes from social 2013-08-22 18:25:33 +02:00
mposolda
932ed10c17 KEYCLOAK-27 Basic social flow with automatic registration and non-duplicated username 2013-08-22 17:17:33 +02:00
mposolda
b2544dbe8f Added realm option automaticRegistrationAfterSocialLogin to specify whether user is automatically registered after social login or whether he needs to confirm registration data 2013-08-22 17:17:33 +02:00
mposolda
1a374a8d1b Added SocialLink, which represents binding between User and his social username for particular socialProvider 2013-08-22 17:17:33 +02:00
Stian Thorgersen
2bc2126317 Added test for changing password, and a small fix 2013-08-22 12:05:34 +01:00
Stian Thorgersen
de7a185ee0 Started adding totp flow 2013-08-20 17:15:10 +01:00
Stian Thorgersen
17b61ed0c8 Added pages for user account management 2013-08-20 14:28:51 +01:00
Stian Thorgersen
d2621c452e KEYCLOAK-44
Add configuration of TOTP to registration
2013-08-16 15:53:09 +01:00
Bill Burke
73f64bf4ec merge 2013-08-16 08:14:37 -04:00
mposolda
0b9a59950a KEYCLOAK-43 ApplicationAdapter.addScope doesn't add scope into IDM 2013-08-16 13:55:57 +02:00
mposolda
d97a615c81 KEYCLOAK-42 Typo in RealmModel.importRealm causing that bad required credential type could be imported 2013-08-16 13:33:58 +02:00
Stian Thorgersen
a65c8695d7 If registration is not allowed for a realm it should not be possible to login with social login unless the user already exists 2013-08-15 16:34:44 +01:00
Stian Thorgersen
0301094fc9 KEYCLOAK-40 Add default role to realm 2013-08-15 16:19:17 +01:00
Bill Burke
13a93fb776 merged 2013-08-15 09:37:41 -04:00
Stian Thorgersen
54f3f7a922 Added generic type to Transaction class to remove warnings 2013-08-15 13:30:38 +01:00
Stian Thorgersen
5f90150058 Added more messages to resource bundle for forms 2013-08-15 12:16:08 +01:00
Stian Thorgersen
f88097582d Fixed ImportTest after changing credential label 2013-08-15 12:15:22 +01:00
Stian Thorgersen
92235e3b07 Added realm registration 2013-08-15 11:31:10 +01:00
Stian Thorgersen
0ffe1cb354 Renamed sdk-html for forms and added registration form 2013-08-14 12:30:16 +01:00
Stian Thorgersen
a0f0e30348 KEYCLOAK-33
Callback URL for social includes realm name
2013-08-13 16:38:02 +01:00
Bill Burke
38300f3e7f user panels and query 2013-08-12 09:41:55 -04:00
Bill Burke
5b03b56c4a realm progress 2013-08-10 16:01:00 -04:00
Bill Burke
a81d03213d refactor 2013-08-10 12:43:55 -04:00
Bill Burke
993fc5c301 required creds 2013-08-10 08:13:39 -04:00
Bill Burke
3480cb5646 session timeout improvements 2013-08-08 09:53:18 -04:00
Bill Burke
095b4c62fb idle timeout and app create 2013-08-07 21:52:33 -04:00
Bill Burke
df5823f0e8 fix saas login/register 2013-08-07 10:13:01 -04:00
Stian Thorgersen
38900efa40 Renamed SaaSService to SaasService to match class name 2013-08-05 17:16:13 +01:00
Stian Thorgersen
dd65a41e86 Changed SaaSService to use login form from sdk-html instead of its own 2013-08-05 17:14:59 +01:00
Bill Burke
7dd876bcda make easier for softlinks 2013-08-05 09:51:02 -04:00
Bill Burke
fb45fcc5fd nav ui fixes 2013-08-04 19:33:25 -04:00
Bill Burke
d11876f58e resource rest api 2013-08-04 12:57:12 -04:00
Bill Burke
4e61981b69 expand required credentials 2013-08-04 11:48:09 -04:00
Bill Burke
9ff4ef4d64 roles 2013-08-03 22:41:55 -04:00
Bill Burke
ca35971959 Merge remote-tracking branch 'upstream/master' 2013-08-03 12:03:14 -04:00
Bill Burke
d4f8d2dc7a realm creation ui 2013-08-03 12:00:29 -04:00
Bill Burke
8b00fff5ee remove filters 2013-08-02 23:36:25 -04:00
Bill Burke
540385fec5 admin ui login 2013-08-02 22:26:57 -04:00
Stian Thorgersen
5ad087d721 Updated login form 2013-08-02 16:38:07 +01:00
Stian Thorgersen
acd4a4b0d4 Integrated social 2013-08-02 13:06:00 +01:00
Bill Burke
5c9a3a730c upgrade picketlink 2013-08-01 19:16:07 -04:00
Bill Burke
c9ec2bb2c5 picketlink 2.5.0.Beta6 2013-08-01 19:04:39 -04:00
Bill Burke
72d9841baa finish picketlink abstraction 2013-07-31 17:56:17 -04:00
Bill Burke
93f9a34175 abstract Picketlink User/Role 2013-07-31 16:30:39 -04:00
Bill Burke
92c15637b2 refactor out picketlink 2013-07-30 21:44:22 -04:00
Bill Burke
15a947f4ae last oauth 2013-07-29 10:24:15 -04:00
Bill Burke
579aefd310 oauth 2013-07-28 22:34:54 -04:00
Bill Burke
4a40ec71c9 role description 2013-07-28 09:47:26 -04:00
Bill Burke
6fdff819a1 logout 2013-07-27 18:19:23 -04:00
Bill Burke
fa63da7e06 cookie login 2013-07-25 09:47:52 -04:00
Bill Burke
b7d45f9d18 more 2013-07-24 20:35:04 -04:00
Bill Burke
74b121539d better demo 2013-07-22 18:07:00 -04:00
Bill Burke
729d9afac3 demo fixes 2013-07-22 16:34:14 -04:00
Bill Burke
33e9de654b more 2013-07-19 21:33:44 -04:00
Bill Burke
e1fe001a22 demo 2013-07-19 17:59:36 -04:00
Bill Burke
79e6f46183 refactoring for demo setup 2013-07-18 11:44:59 -04:00
Bill Burke
f7b3f2998d refactoring 2013-07-18 10:14:52 -04:00
Bill Burke
5ce263c2b5 further 2013-07-15 09:38:06 -04:00
Bill Burke
1548065b7f more stuff 2013-07-11 17:56:15 -04:00
Bill Burke
1586f461be more 2013-07-05 14:23:16 -04:00
Bill Burke
7a1c825dcb initial 2013-07-02 10:05:33 -04:00