Browse Source

Merge branch '6.2.x' into 6.3.x

Closes gh-15380
pull/15383/head
Josh Cummings 2 years ago
parent
commit
290cee238d
No known key found for this signature in database
GPG Key ID: A306A51F43B8E5A5
  1. 2
      docs/modules/ROOT/pages/servlet/authorization/method-security.adoc
  2. 6
      docs/modules/ROOT/pages/servlet/saml2/login/authentication-requests.adoc
  3. 6
      docs/modules/ROOT/pages/servlet/saml2/login/overview.adoc

2
docs/modules/ROOT/pages/servlet/authorization/method-security.adoc

@ -240,7 +240,7 @@ static RoleHierarchy roleHierarchy() { @@ -240,7 +240,7 @@ static RoleHierarchy roleHierarchy() {
Kotlin::
+
[source,java,role="secondary"]
[source,kotlin,role="secondary"]
----
companion object {
@Bean

6
docs/modules/ROOT/pages/servlet/saml2/login/authentication-requests.adoc

@ -87,7 +87,7 @@ RelyingPartyRegistration relyingPartyRegistration = RelyingPartyRegistration.wit @@ -87,7 +87,7 @@ RelyingPartyRegistration relyingPartyRegistration = RelyingPartyRegistration.wit
Kotlin::
+
[source,java,role="secondary"]
[source,kotlin,role="secondary"]
----
var relyingPartyRegistration: RelyingPartyRegistration =
RelyingPartyRegistration.withRegistrationId("okta")
@ -96,7 +96,7 @@ var relyingPartyRegistration: RelyingPartyRegistration = @@ -96,7 +96,7 @@ var relyingPartyRegistration: RelyingPartyRegistration =
// ...
.wantAuthnRequestsSigned(false)
}
.build();
.build()
----
======
@ -141,7 +141,7 @@ var relyingPartyRegistration: RelyingPartyRegistration = @@ -141,7 +141,7 @@ var relyingPartyRegistration: RelyingPartyRegistration =
)
}
}
.build();
.build()
----
======

6
docs/modules/ROOT/pages/servlet/saml2/login/overview.adoc

@ -949,12 +949,12 @@ Collection<RelyingPartyRegistration> registrations = RelyingPartyRegistrations @@ -949,12 +949,12 @@ Collection<RelyingPartyRegistration> registrations = RelyingPartyRegistrations
.entityId("https://example.org/saml2/sp")
.build()
)
.collect(Collectors.toList()));
.collect(Collectors.toList());
----
Kotlin::
+
[source,java,role="secondary"]
[source,kotlin,role="secondary"]
----
var registrations: Collection<RelyingPartyRegistration> = RelyingPartyRegistrations
.collectionFromMetadataLocation("https://example.org/saml2/idp/metadata.xml")
@ -964,7 +964,7 @@ var registrations: Collection<RelyingPartyRegistration> = RelyingPartyRegistrati @@ -964,7 +964,7 @@ var registrations: Collection<RelyingPartyRegistration> = RelyingPartyRegistrati
.assertionConsumerServiceLocation("{baseUrl}/login/saml2/sso")
.build()
}
.collect(Collectors.toList()));
.collect(Collectors.toList())
----
======

Loading…
Cancel
Save