21 Commits

Author SHA1 Message Date
Brian Clozel
c5817f21eb Add property for disabling GraphQL schema introspection
Prior to this commit, the GraphQL schema assembled by the
auto-configuration would provide no option for disabling the field
introspection.

While this feature is essential for many tools (including GraphiQL),
some prefer disabling it because this allows clients to gather
information about types and schema easily. This commit introduces a new
`spring.graphql.schema.introspection.enabled` configuration property.

Because potential attackers can still gather this information and this
feature is a core concern in the GraphQL spec, introspection is enabled
by default for Spring Boot applications.

Closes gh-29248
2022-01-03 17:36:58 +01:00
izeye
728206dba0 Polish GraphQL changes
See gh-29140
Closes gh-29194
2022-01-03 17:36:57 +01:00
Brian Clozel
22706057f0 Document Spring GraphQL support
This commit documents all the features added in the previous commits:
from the main infrastructure support, to testing and metrics.

See gh-29140
2021-12-21 08:34:56 +01:00
Jay Bryant
e629e77b29 Replace "you're"
This commit replaces "you're" with some other structure, often
simplifying the sentence in the process.

Also checked for words that end with "'ll" and "n't" but did not find
any.

See gh-28710
2021-11-19 13:23:10 +00:00
Jay Bryant
3422b1f38b Replace "refer to" with "see"
Update documentation to replace "refer to" with "see" and to drop
"please" when it is present.

See gh-28537
2021-11-08 14:40:57 -08:00
Jay Bryant
9f2c8f65ee Replace "check out" with more formal language
Update documentation to use more formal language rather than
"check out".

See gh-28503
2021-11-08 14:36:32 -08:00
Jay Bryant
73a18c73f4 Replace "via" with words more suited to an international audience
See gh-28464
2021-10-28 17:54:14 +01:00
Phillip Webb
9cb5f035e7 Fix typo
See gh-20971
2021-10-23 08:29:51 -07:00
Andy Wilkinson
d52b649bd7 Fix links to Spring Security's reference documentation
Closes gh-28407
2021-10-21 19:11:52 +01:00
Phillip Webb
cf9156e497 Add SameSite cookie support for servlet web servers
Update Tomcat, Jetty and Undertow `ServletWebServerFactory`
implementations so that they can write SameSite cookie attributes.

The session cookie will be customized whenever the
`server.servlet.session.cookie.same-site` property is set.

Other cookies can be customized with the new `CookieSameSiteSupplier`
interface which can be registered using `@Bean` methods.

Closes gh-20971

Co-authored-by Andy Wilkinson <wilkinsona@vmware.com>
2021-10-20 22:58:31 -07:00
Phillip Webb
3729c4909a Polish package name for web sample code
See gh-27132
2021-10-20 21:31:41 -07:00
Phillip Webb
61a84a4722 Polish asciidoctor links
Update `<<..>>` links to include the page.
2021-09-21 15:44:53 -07:00
dreis2211
cf0fcafd13 Polish
See gh-27940
2021-09-21 08:08:29 +02:00
Vincent Ricard
52176b8ed6 Remove english contractions from the documentation
See gh-28064
2021-09-21 08:00:48 +02:00
Madhura Bhave
ac00df79f1 Add what's next to new sections
This commit also moves hazelcast from core features to IO

Closes gh-27132
2021-09-20 16:15:08 -07:00
Dmitriy Bogdanov
2ad3428039 Fix some typos in docs
See gh-27968
2021-09-14 09:16:13 +02:00
Phillip Webb
56595c0027 Use consistent case for 'Servlet' and 'Filter' in documentation
Closes gh-27896
2021-09-08 17:56:44 -07:00
dreis2211
7c8ccfc4c1 Fix broken links in docs
See gh-27761
2021-08-18 15:51:14 -07:00
Madhura Bhave
ce1dff86df Merge branch '2.5.x' into main
See gh-27140
2021-07-02 15:44:13 -07:00
Madhura Bhave
1dc8fa14c9 Merge branch '2.5.x' into main
Closes gh-27140
2021-07-01 16:02:35 -07:00
Madhura Bhave
32a1644cca Split spring boot features into multiple sections
See gh-27132
2021-06-30 22:17:48 -07:00