Skip to content

Commit 4ff8555

Browse files
committed
Hardcode github code location temporarily.
See spring-cloud/spring-cloud-build#244 Fixes spring-cloudgh-3155
1 parent dd4840b commit 4ff8555

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/modules/ROOT/pages/spring-cloud-gateway/gatewayfilter-factories/tokenrelay-factory.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ To enable this for Spring Cloud Gateway add the following dependencies
8787

8888
- `org.springframework.boot:spring-boot-starter-oauth2-client`
8989

90-
How does it work? The {github-code}/src/main/java/org/springframework/cloud/gateway/security/TokenRelayGatewayFilterFactory.java[filter]
90+
How does it work? The https://github.com/spring-cloud/spring-cloud-gateway/blob/main/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/TokenRelayGatewayFilterFactory.java[filter]
9191
extracts an OAuth2 access token from the currently authenticated user for the provided `clientRegistrationId`.
9292
If no `clientRegistrationId` is provided, the currently authenticated user's own access token (obtained during login) is used.
9393
In either case, the extracted access token is placed in a request header for the downstream requests.

docs/modules/ROOT/pages/spring-cloud-gateway/glossary.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
It is defined by an ID, a destination URI, a collection of predicates, and a collection of filters. A route is matched if the aggregate predicate is true.
77
* *Predicate*: This is a https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html[Java 8 Function Predicate]. The input type is a https://docs.spring.io/spring/docs/5.0.x/javadoc-api/org/springframework/web/server/ServerWebExchange.html[Spring Framework `ServerWebExchange`].
88
This lets you match on anything from the HTTP request, such as headers or parameters.
9-
* *Filter*: These are instances of {github-code}/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/GatewayFilter.java[`GatewayFilter`] that have been constructed with a specific factory.
9+
* *Filter*: These are instances of https://github.com/spring-cloud/spring-cloud-gateway/blob/main/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/GatewayFilter.java[`GatewayFilter`] that have been constructed with a specific factory.
1010
Here, you can modify requests and responses before or after sending the downstream request.
1111

0 commit comments

Comments
 (0)