gluu
静的公開メンバ関数 | 非公開メンバ関数 | 静的非公開変数類 | 全メンバ一覧
org.xdi.oxd.server.op.OperationFactory クラス
org.xdi.oxd.server.op.OperationFactory 連携図
Collaboration graph

静的公開メンバ関数

static IOperation<? extends IParamscreate (Command command, final Injector injector)
 

非公開メンバ関数

 OperationFactory ()
 

静的非公開変数類

static final Logger LOG = LoggerFactory.getLogger(OperationFactory.class)
 

詳解

著者
Yuriy Zabrovarnyy
バージョン
0.9, 09/08/2013

構築子と解体子

◆ OperationFactory()

org.xdi.oxd.server.op.OperationFactory.OperationFactory ( )
inlineprivate
21  {
22  }

関数詳解

◆ create()

static IOperation<? extends IParams> org.xdi.oxd.server.op.OperationFactory.create ( Command  command,
final Injector  injector 
)
inlinestatic
24  {
25  if (command != null && command.getCommandType() != null) {
26  switch (command.getCommandType()) {
27  case AUTHORIZATION_CODE_FLOW:
28  return new AuthorizationCodeFlowOperation(command, injector);
29  case CHECK_ID_TOKEN:
30  return new CheckIdTokenOperation(command, injector);
31  case CHECK_ACCESS_TOKEN:
32  return new CheckAccessTokenOperation(command, injector);
33  case LICENSE_STATUS:
34  return new LicenseStatusOperation(command, injector);
35  case GET_AUTHORIZATION_URL:
36  return new GetAuthorizationUrlOperation(command, injector);
37  case GET_TOKENS_BY_CODE:
38  return new GetTokensByCodeOperation(command, injector);
39  case GET_USER_INFO:
40  return new GetUserInfoOperation(command, injector);
41  case VALIDATE:
42  return new ValidateOperation(command, injector);
43  case IMPLICIT_FLOW:
44  return new ImplicitFlowOperation(command, injector);
45  case GET_ACCESS_TOKEN_BY_REFRESH_TOKEN:
46  return new GetAccessTokenByRefreshTokenOperation(command, injector);
47  case REGISTER_SITE:
48  return new RegisterSiteOperation(command, injector);
49  case GET_AUTHORIZATION_CODE:
50  return new GetAuthorizationCodeOperation(command, injector);
51  case GET_LOGOUT_URI:
52  return new GetLogoutUrlOperation(command, injector);
53  case UPDATE_SITE:
54  return new UpdateSiteOperation(command, injector);
55  case RS_PROTECT:
56  return new RsProtectOperation(command, injector);
57  case RS_CHECK_ACCESS:
58  return new RsCheckAccessOperation(command, injector);
59  case RP_GET_RPT:
60  return new RpGetRptOperation(command, injector);
61  case RP_GET_CLAIMS_GATHERING_URL:
62  return new RpGetGetClaimsGatheringUrlOperation(command, injector);
63  case SETUP_CLIENT:
64  return new SetupClientOperation(command, injector);
65  case GET_CLIENT_TOKEN:
66  return new GetClientTokenOperation(command, injector);
67  case INTROSPECT_ACCESS_TOKEN:
68  return new IntrospectAccessTokenOperation(command, injector);
69  case INTROSPECT_RPT:
70  return new IntrospectRptOperation(command, injector);
71  case REMOVE_SITE:
72  return new RemoveSiteOperation(command, injector);
73  case GET_RP:
74  return new GetRpOperation(command, injector);
75  }
76  LOG.error("Command is not supported. Command: {}", command);
77  } else {
78  LOG.error("Command is invalid. Command: {}", command);
79  }
80  return null;
81  }
static final Logger LOG
Definition: OperationFactory.java:19

メンバ詳解

◆ LOG

final Logger org.xdi.oxd.server.op.OperationFactory.LOG = LoggerFactory.getLogger(OperationFactory.class)
staticprivate

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