Skip to content

Fix typos and formatting in documentation #15353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ static RoleHierarchy roleHierarchy() {

Kotlin::
+
[source,java,role="secondary"]
[source,kotlin,role="secondary"]
----
companion object {
@Bean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ RelyingPartyRegistration relyingPartyRegistration = RelyingPartyRegistration.wit

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

Expand Down Expand Up @@ -141,7 +141,7 @@ var relyingPartyRegistration: RelyingPartyRegistration =
)
}
}
.build();
.build()
----
======

Expand Down
6 changes: 3 additions & 3 deletions docs/modules/ROOT/pages/servlet/saml2/login/overview.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1000,12 +1000,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")
Expand All @@ -1015,7 +1015,7 @@ var registrations: Collection<RelyingPartyRegistration> = RelyingPartyRegistrati
.assertionConsumerServiceLocation("{baseUrl}/login/saml2/sso")
.build()
}
.collect(Collectors.toList()));
.collect(Collectors.toList())
----
======

Expand Down
Loading