Skip to content

Commit

Permalink
내용 일부 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
mainmethod0126 committed Jan 8, 2025
1 parent 09cbc97 commit 9ea83bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pages/java/lets-try-using-the-grpc-java-library.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ channel.shutdown();

## 스텁 stub

**메소드 스텁(method stub)** 혹은 간단히 스텁은 소프트웨어 개발에 쓰이고 다른 프로그래밍 기능을 대리하는 코드이다"
**메소드 스텁(method stub)** 혹은 간단히 `스텁` 소프트웨어 개발에 쓰이고 **다른 프로그래밍 기능을 대리하는 코드 (개발에서 테스트 코드시에도 실제 기능이 아닌 테스트를 위한 임시 기능을 stub이라고 부름)**이다
서버에 있는 함수가 Client에는 없으니까 `서버의 함수를 호출하듯이 서버 함수를 대신해주는 대신맨`


Expand Down
12 changes: 6 additions & 6 deletions pages/msa/add-jwt-verification-proxy-to-istio.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
matchLabels:
app: httpbin
jwtRules:
- issuer: "issuer-foo"
- issuer: "https://your-issuer.com"
jwksUri: https://example.com/.well-known/jwks.json
forwardOriginalToken: true
```
Expand Down Expand Up @@ -304,7 +304,7 @@ spec:
matchLabels:
app: httpbin
jwtRules:
- issuer: "issuer-foo"
- issuer: "https://your-issuer.com"
jwksUri: https://example.com/.well-known/jwks.json
```

Expand All @@ -321,7 +321,7 @@ spec:
matchLabels:
app: httpbin
jwtRules:
- issuer: "issuer-foo"
- issuer: "https://your-issuer.com"
jwksUri: https://example.com/api/jwks
```

Expand Down Expand Up @@ -351,15 +351,15 @@ istio는 기본적으로 `Authentication Header` 에 담겨져있는 jwt를 검
apiVersion: security.istio.io/v1
kind: RequestAuthentication
metadata:
name: custom-header-jwt
name: httpbin
namespace: foo
spec:
selector:
matchLabels:
app: httpbin
jwtRules:
- issuer: "https://your-issuer.com"
jwksUri: "https://your-issuer.com/.well-known/jwks.json"
jwksUri: https://example.com/.well-known/jwks.json
fromHeaders:
- name: "X-Custom-Authorization" # JWT가 담긴 헤더 이름
valuePrefix: "Bearer " # JWT 토큰의 접두사 (필요 없으면 생략 가능)
Expand Down Expand Up @@ -403,7 +403,7 @@ spec:
matchLabels:
app: httpbin
jwtRules:
- issuer: "issuer-foo"
- issuer: "https://your-issuer.com"
jwksUri: https://example.com/.well-known/jwks.json
forwardOriginalToken: true
```
Expand Down

0 comments on commit 9ea83bc

Please sign in to comment.