-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 248 Add organizations configuration * 248 Format * 248 Fix comments * #249 Start implementation * #249 Identify shared idps code changes * #249 Test update identity provider * #249 Test remove organization for shared identity provider * #249 Add identity provider roles restrictions * #249 Add create admin user global config logic * #249 Add changes Remove all identity providers IDP when sharedIdps disabled. Remove sharedIdps from /linked request body * #249 Add OrgAddUser Authenticator logic for shared IDPs * #249 Change logic for `Add User to Org` to add users based on the email domain
- Loading branch information
Showing
18 changed files
with
1,024 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/main/java/io/phasetwo/service/representation/OrganizationsConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package io.phasetwo.service.representation; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
public class OrganizationsConfig { | ||
@JsonProperty("createAdminUserEnabled") | ||
private boolean createAdminUser = true; | ||
|
||
@JsonProperty("sharedIdpsEnabled") | ||
private boolean sharedIdps = false; | ||
|
||
public boolean isCreateAdminUser() { | ||
return createAdminUser; | ||
} | ||
|
||
public void setCreateAdminUser(boolean createAdminUser) { | ||
this.createAdminUser = createAdminUser; | ||
} | ||
|
||
public boolean isSharedIdps() { | ||
return sharedIdps; | ||
} | ||
|
||
public void setSharedIdps(boolean sharedIdps) { | ||
this.sharedIdps = sharedIdps; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.