Polish whats-new.adoc
This commit is contained in:
parent
c8cea3f962
commit
8bab9bcce8
|
@ -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 `<saml2:AuthnRequest>`.
|
||||
|
||||
[configuring-authentication-request-uri]
|
||||
[[configuring-authentication-request-uri]]
|
||||
== Configuring the `<saml2:AuthnRequest>` Endpoint
|
||||
|
||||
To configure the endpoint differently from the default, you can set the value in `saml2Login`:
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
----
|
||||
======
|
||||
|
|
Loading…
Reference in New Issue