Do not mention credentials as enabled by default in CorsRegistry
Credentials are not enabled by default contrary to the javadocs. The credentials support must be enabled via #allowCredentials. Closes gh-24691 Co-authored-by: Martin Dindoffer <martin.dindoffer@sigp.eu>
This commit is contained in:
@@ -42,9 +42,8 @@ public class CorsRegistry {
|
||||
*
|
||||
* <p>Exact path mapping URIs (such as {@code "/admin"}) are supported as
|
||||
* well as Ant-style path patterns (such as {@code "/admin/**"}).
|
||||
* <p>By default, all origins, all headers, credentials and {@code GET},
|
||||
* {@code HEAD}, and {@code POST} methods are allowed, and the max age
|
||||
* is set to 30 minutes.
|
||||
* <p>By default, all origins, all headers and {@code GET}, {@code HEAD},
|
||||
* and {@code POST} methods are allowed, and the max age is set to 30 minutes.
|
||||
*
|
||||
* <p>The following defaults are applied to the {@link CorsRegistration}:
|
||||
* <ul>
|
||||
|
||||
Reference in New Issue
Block a user