gluu
公開メンバ関数 | 全メンバ一覧
org.xdi.oxd.server.IntrospectRptTest クラス
org.xdi.oxd.server.IntrospectRptTest 連携図
Collaboration graph

公開メンバ関数

void test (String host, String opHost, String redirectUrl, String rsProtect) throws IOException
 

詳解

著者
yuriyz

関数詳解

◆ test()

void org.xdi.oxd.server.IntrospectRptTest.test ( String  host,
String  opHost,
String  redirectUrl,
String  rsProtect 
) throws IOException
inline
23  {
24  ClientInterface client = Tester.newClient(host);
25 
26  RegisterSiteResponse site = RegisterSiteTest.registerSite(client, opHost, redirectUrl);
27  final RpGetRptResponse rptResponse = RpGetRptTest.requestRpt(client, site, rsProtect);
28 
29  IntrospectRptParams params = new IntrospectRptParams();
30  params.setOxdId(site.getOxdId());
31  params.setRpt(rptResponse.getRpt());
32 
33  final CorrectRptIntrospectionResponse response = client.introspectRpt(params).dataAsResponse(CorrectRptIntrospectionResponse.class);
34 
35  assertNotNull(response);
36  assertTrue(response.getActive());
37  assertTrue(response.getExpiresAt() != null);
38  assertTrue(response.getIssuedAt() != null);
39  }

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