diff --git a/docs/modules/ROOT/pages/servlet/saml2/login/authentication-requests.adoc b/docs/modules/ROOT/pages/servlet/saml2/login/authentication-requests.adoc index d49eea4b60..2798eea564 100644 --- a/docs/modules/ROOT/pages/servlet/saml2/login/authentication-requests.adoc +++ b/docs/modules/ROOT/pages/servlet/saml2/login/authentication-requests.adoc @@ -12,7 +12,7 @@ For example, if you were deployed to `https://rp.example.com` and you gave your and the result would be a redirect that included a `SAMLRequest` parameter containing the signed, deflated, and encoded ``. -[configuring-authentication-request-uri] +[[configuring-authentication-request-uri]] == Configuring the `` Endpoint To configure the endpoint differently from the default, you can set the value in `saml2Login`: diff --git a/docs/modules/ROOT/pages/servlet/saml2/metadata.adoc b/docs/modules/ROOT/pages/servlet/saml2/metadata.adoc index 013eb21082..9a0c557a8a 100644 --- a/docs/modules/ROOT/pages/servlet/saml2/metadata.adoc +++ b/docs/modules/ROOT/pages/servlet/saml2/metadata.adoc @@ -32,7 +32,7 @@ val openSamlEntityDescriptor: EntityDescriptor = details.getEntityDescriptor() ---- ====== -[using-assertingpartymetadatarepository] +[[using-assertingpartymetadatarepository]] === Using `AssertingPartyMetadataRepository` You can also be more targeted than `RelyingPartyRegistrations` by using `AssertingPartyMetadataRepository`, an interface that allows for only retrieving the asserting party metadata. diff --git a/docs/modules/ROOT/pages/whats-new.adoc b/docs/modules/ROOT/pages/whats-new.adoc index 4e0f392ff1..6e1cb5ca66 100644 --- a/docs/modules/ROOT/pages/whats-new.adoc +++ b/docs/modules/ROOT/pages/whats-new.adoc @@ -6,7 +6,7 @@ Below are the highlights of the release, or you can view https://github.com/spri == Method Security -* All xref:servlet/authorization/method-security.adoc#using_metannotation-method-interceptors[method security annotations] now support {spring-framework-api-url}org/springframework/core/annotation/AliasFor.html[Framework's `@AliasFor`] +* All xref:servlet/authorization/method-security.adoc#meta-annotations[method security annotations] now support {spring-framework-api-url}org/springframework/core/annotation/AliasFor.html[Framework's `@AliasFor`] * `@AuthenticationPrincipal` and `@CurrentSecurityContext` now support xref:servlet/authorization/method-security.adoc#_templating_meta_annotation_expressions[annotation templates]. + This means that you can now use Spring's meta-annotation support like so: @@ -169,7 +169,7 @@ fun api(val http: HttpSecurity): SecurityFilterChain { // ... } } - return http.build(); + return http.build() } @Bean @@ -181,7 +181,7 @@ fun app(val http: HttpSecurity): SecurityFilterChain { // ... } } - return http.build(); + return http.build() } ---- ======