gluu
公開メンバ関数 | 非公開変数類 | 全メンバ一覧
org.xdi.oxauth.jwk.ws.rs.JwkRestWebServiceImpl クラス
org.xdi.oxauth.jwk.ws.rs.JwkRestWebServiceImpl の継承関係図
Inheritance graph
org.xdi.oxauth.jwk.ws.rs.JwkRestWebServiceImpl 連携図
Collaboration graph

公開メンバ関数

Response requestJwk (SecurityContext sec)
 
Response requestJwk (@Context SecurityContext securityContext)
 

非公開変数類

Logger log
 
WebKeysConfiguration webKeysConfiguration
 

詳解

Provides interface for JWK REST web services

著者
Javier Rojas Blum
バージョン
June 15, 2016

関数詳解

◆ requestJwk() [1/2]

Response org.xdi.oxauth.jwk.ws.rs.JwkRestWebServiceImpl.requestJwk ( SecurityContext  sec)
inline
33  {
34  log.debug("Attempting to request JWK, Is Secure = {}", sec.isSecure());
35  Response.ResponseBuilder builder = Response.ok();
36 
37  try {
38  builder.entity(webKeysConfiguration.toString());
39  } catch (Exception e) {
40  log.error(e.getMessage(), e);
41  builder = Response.status(Response.Status.INTERNAL_SERVER_ERROR.getStatusCode()); // 500
42  }
43 
44  return builder.build();
45  }
String toString()
Definition: JSONWebKeySet.java:91
WebKeysConfiguration webKeysConfiguration
Definition: JwkRestWebServiceImpl.java:30
Logger log
Definition: JwkRestWebServiceImpl.java:27

◆ requestJwk() [2/2]

Response org.xdi.oxauth.jwk.ws.rs.JwkRestWebService.requestJwk ( @Context SecurityContext  securityContext)
inherited

The JWK endpoint.

引数
securityContextAn injectable interface that provides access to security related information.
戻り値
The JSON Web Key data structure JWK. A JWK consists of a JWK Container Object, which is a JSON object that contains an array of JWK Key Objects as a member.

メンバ詳解

◆ log

Logger org.xdi.oxauth.jwk.ws.rs.JwkRestWebServiceImpl.log
private

◆ webKeysConfiguration

WebKeysConfiguration org.xdi.oxauth.jwk.ws.rs.JwkRestWebServiceImpl.webKeysConfiguration
private

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