Skip to content

Commit 19318f8

Browse files
jorbaumKehrlann
authored andcommitted
Support default identity provider property
1 parent 415f07c commit 19318f8

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

cloudfoundry-client-reactor/src/test/java/org/cloudfoundry/reactor/uaa/identityzones/ReactorIdentityZonesTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,8 @@ void list() {
832832
+ " /passcode)")
833833
.build())
834834
.ldapDiscoveryEnabled(false)
835+
.defaultIdentityProvider(
836+
"test-identity-provider")
835837
.accountChooserEnabled(false)
836838
.build())
837839
.name("The Twiglet Zone")

cloudfoundry-client-reactor/src/test/resources/fixtures/uaa/identity-zones/GET_response.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
"text": "One Time Code (Get on at /passcode)"
9898
}
9999
],
100+
"defaultIdentityProvider": "test-identity-provider",
100101
"idpDiscoveryEnabled": false,
101102
"accountChooserEnabled": false
102103
},

cloudfoundry-client/src/main/java/org/cloudfoundry/uaa/identityzones/_IdentityZoneConfiguration.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ abstract class _IdentityZoneConfiguration {
6565
@Nullable
6666
abstract CorsPolicy getCorsPolicy();
6767

68+
/**
69+
* The default identity provider for this zone
70+
*/
71+
@JsonProperty("defaultIdentityProvider")
72+
@Nullable
73+
abstract String getDefaultIdentityProvider();
74+
6875
/**
6976
* The issuer of this zone
7077
*/

0 commit comments

Comments
 (0)