mitreid-connect
公開メンバ関数 | 関数 | 非公開変数類 | 全メンバ一覧
org.mitre.jwt.signer.service.impl.JWKSetCacheService.JWKSetVerifierFetcher クラス
org.mitre.jwt.signer.service.impl.JWKSetCacheService.JWKSetVerifierFetcher の継承関係図
Inheritance graph
org.mitre.jwt.signer.service.impl.JWKSetCacheService.JWKSetVerifierFetcher 連携図
Collaboration graph

公開メンバ関数

JWTSigningAndValidationService load (String key) throws Exception
 

関数

 JWKSetVerifierFetcher (HttpClient httpClient)
 

非公開変数類

HttpComponentsClientHttpRequestFactory httpFactory
 
RestTemplate restTemplate
 

詳解

著者
jricher

構築子と解体子

◆ JWKSetVerifierFetcher()

org.mitre.jwt.signer.service.impl.JWKSetCacheService.JWKSetVerifierFetcher.JWKSetVerifierFetcher ( HttpClient  httpClient)
inlinepackage
111  {
112  this.httpFactory = new HttpComponentsClientHttpRequestFactory(httpClient);
113  this.restTemplate = new RestTemplate(httpFactory);
114  }
HttpComponentsClientHttpRequestFactory httpFactory
Definition: JWKSetCacheService.java:108
RestTemplate restTemplate
Definition: JWKSetCacheService.java:109

関数詳解

◆ load()

JWTSigningAndValidationService org.mitre.jwt.signer.service.impl.JWKSetCacheService.JWKSetVerifierFetcher.load ( String  key) throws Exception
inline

Load the JWK Set and build the appropriate signing service.

120  {
121  String jsonString = restTemplate.getForObject(key, String.class);
122  JWKSet jwkSet = JWKSet.parse(jsonString);
123 
124  JWKSetKeyStore keyStore = new JWKSetKeyStore(jwkSet);
125 
126  JWTSigningAndValidationService service = new DefaultJWTSigningAndValidationService(keyStore);
127 
128  return service;
129  }
RestTemplate restTemplate
Definition: JWKSetCacheService.java:109

メンバ詳解

◆ httpFactory

HttpComponentsClientHttpRequestFactory org.mitre.jwt.signer.service.impl.JWKSetCacheService.JWKSetVerifierFetcher.httpFactory
private

◆ restTemplate

RestTemplate org.mitre.jwt.signer.service.impl.JWKSetCacheService.JWKSetVerifierFetcher.restTemplate
private

このクラス詳解は次のファイルから抽出されました: