mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 17:22:13 +00:00
Merge branch '6.2.x' into 6.3.x
Closes gh-15380
This commit is contained in:
commit
290cee238d
@ -240,7 +240,7 @@ static RoleHierarchy roleHierarchy() {
|
|||||||
|
|
||||||
Kotlin::
|
Kotlin::
|
||||||
+
|
+
|
||||||
[source,java,role="secondary"]
|
[source,kotlin,role="secondary"]
|
||||||
----
|
----
|
||||||
companion object {
|
companion object {
|
||||||
@Bean
|
@Bean
|
||||||
|
@ -87,7 +87,7 @@ RelyingPartyRegistration relyingPartyRegistration = RelyingPartyRegistration.wit
|
|||||||
|
|
||||||
Kotlin::
|
Kotlin::
|
||||||
+
|
+
|
||||||
[source,java,role="secondary"]
|
[source,kotlin,role="secondary"]
|
||||||
----
|
----
|
||||||
var relyingPartyRegistration: RelyingPartyRegistration =
|
var relyingPartyRegistration: RelyingPartyRegistration =
|
||||||
RelyingPartyRegistration.withRegistrationId("okta")
|
RelyingPartyRegistration.withRegistrationId("okta")
|
||||||
@ -96,7 +96,7 @@ var relyingPartyRegistration: RelyingPartyRegistration =
|
|||||||
// ...
|
// ...
|
||||||
.wantAuthnRequestsSigned(false)
|
.wantAuthnRequestsSigned(false)
|
||||||
}
|
}
|
||||||
.build();
|
.build()
|
||||||
----
|
----
|
||||||
======
|
======
|
||||||
|
|
||||||
@ -141,7 +141,7 @@ var relyingPartyRegistration: RelyingPartyRegistration =
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.build();
|
.build()
|
||||||
----
|
----
|
||||||
======
|
======
|
||||||
|
|
||||||
|
@ -949,12 +949,12 @@ Collection<RelyingPartyRegistration> registrations = RelyingPartyRegistrations
|
|||||||
.entityId("https://example.org/saml2/sp")
|
.entityId("https://example.org/saml2/sp")
|
||||||
.build()
|
.build()
|
||||||
)
|
)
|
||||||
.collect(Collectors.toList()));
|
.collect(Collectors.toList());
|
||||||
----
|
----
|
||||||
|
|
||||||
Kotlin::
|
Kotlin::
|
||||||
+
|
+
|
||||||
[source,java,role="secondary"]
|
[source,kotlin,role="secondary"]
|
||||||
----
|
----
|
||||||
var registrations: Collection<RelyingPartyRegistration> = RelyingPartyRegistrations
|
var registrations: Collection<RelyingPartyRegistration> = RelyingPartyRegistrations
|
||||||
.collectionFromMetadataLocation("https://example.org/saml2/idp/metadata.xml")
|
.collectionFromMetadataLocation("https://example.org/saml2/idp/metadata.xml")
|
||||||
@ -964,7 +964,7 @@ var registrations: Collection<RelyingPartyRegistration> = RelyingPartyRegistrati
|
|||||||
.assertionConsumerServiceLocation("{baseUrl}/login/saml2/sso")
|
.assertionConsumerServiceLocation("{baseUrl}/login/saml2/sso")
|
||||||
.build()
|
.build()
|
||||||
}
|
}
|
||||||
.collect(Collectors.toList()));
|
.collect(Collectors.toList())
|
||||||
----
|
----
|
||||||
======
|
======
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user