プライマリ・コンテンツに移動
Oracle® Fusion Middleware Identity and Access ManagementのためのWebLogic Scripting Toolコマンド・リファレンス
11gリリース2 (11.1.2.3.0)
E67358-03
  目次へ移動
目次

前
 
次
 

7 OAuthサービスのWLSTコマンド

この章では、Oracle Access Management OAuthサービスのカスタムWebLogic Scripting Tool (WLST)コマンドについて、コマンド構文、引数および例を含めて詳しく説明します。

次の項では、OAuthサービスのWLSTコマンドと、コマンド・リファレンスの詳細へのリンクを示します。

OAuthサービスのコマンド

表7-1に示すWLSTコマンドを使用して、Oracle Access Management OAuthサービスの構成オブジェクトを管理します。

表7-1 OAuthサービスのWLSTモバイルおよびソーシャル・コマンド

使用するコマンド 目的 WLSTでの使用

OAuthアイデンティティ・ドメイン・コマンド



removeOAuthIdentityDomain


指定されたOAuthアイデンティティ・ドメインを削除します。

オンライン

createOAuthIdentityDomain


新しいOAuthアイデンティティ・ドメインを作成します。

オンライン

updateOAuthIdentityDomain


OAuthアイデンティティ・ドメインを更新します。

オンライン

updateOAuthIdentityDomainParam


変更する個々の属性を更新して許可します。

オンライン

OAuthシステム構成コマンド



updateOAuthSystemConfig


アイデンティティ・ドメインのOAuthシステム構成のデフォルトを更新します。

オンライン

OAuthシステム・コンポーネント・コマンド



removeOAuthSysComponent


指定されたOAuthシステム・コンポーネントを削除します。

オンライン

createOAuthSysComponent


指定されたOAuthシステム・コンポーネントを作成します。

オンライン

updateOAuthSysComponent


指定されたOAuthシステム・コンポーネントを更新します。

オンライン

OAuthサービス・プロバイダ・コマンド



removeOAuthServiceProvider


このコマンドは、OAuthサービス・プロバイダ・オブジェクトを削除します。

オンライン

createOAuthServiceProvider


OAuthサービス・プロバイダを作成します。

オンライン

updateOAuthServiceProvider


OAuthサービス・プロバイダを更新します。

オンライン

updateOAuthServiceProviderParam


OAuthサービス・プロバイダのパラメータを更新します。

オンライン

OAuthクライアント・コマンド



removeOAuthClient


OAuthクライアント・オブジェクトを削除します。

オンライン

createOAuthClient


OAuthクライアント・オブジェクトを作成します。

オンライン

updateOAuthClient


OAuthクライアント・オブジェクトを更新します。

オンライン

サービス・プロファイル・コマンド



removeOAuthServiceProfile


サービス・プロファイルを削除します。

オンライン

createOAuthServiceProfile


サービス・プロファイルを作成します。

オンライン

updateOAuthServiceProfile


サービス・プロファイルを更新します。

オンライン

updateOAuthServiceProfileParam


サービス・プロファイルを更新して、変更する個々の属性を許可します。

オンライン

OAuthアダプティブ・アクセス・プラグイン・コマンド



removeOAuthAdaptiveAccessPlugin


指定されたOAuthアダプティブ・アクセス・プラグインを削除します。

オンライン

createOAuthAdaptiveAccessPlugin


指定されたOAuthアダプティブ・アクセス・プラグインを作成します。

オンライン

updateOAuthAdaptiveAccessPlugin


指定されたOAuthアダプティブ・アクセス・プラグインを更新します。

オンライン

OAuthトークン属性プラグイン・コマンド



removeOAuthTokenAttributesPlugin


指定されたOAuthトークン属性プラグインを削除します。

オンライン

createOAuthTokenAttributesPlugin


指定されたOAuthトークン属性プラグインを作成します。

オンライン

updateOAuthTokenAttributesPlugin


指定されたOAuthトークン属性プラグインを更新します。

オンライン

OAuthリソース・サーバー・インタフェース・コマンド



removeOAuthResourceServerInterface


OAuthリソース・サーバー・インタフェースを削除します。

オンライン

updateOAuthResourceServerInterface


OAuthリソース・サーバー・インタフェースを更新します。

オンライン

createOAuthResourceServerInterface


OAuthリソース・サーバー・インタフェースを作成します。

オンライン

OAuthリソース・サーバー・インタフェース



removeOAuthUserProfileResourceServer


OAuthユーザー・プロファイル・リソース・サーバー・インタフェースを削除します。

オンライン

updateOAuthUserProfileResourceServer


OAuthユーザー・プロファイル・リソース・サーバー・インタフェースを更新します。

オンライン

updateOAuthResourceServerInterfaceParam

OAuthリソース・サーバー・インタフェースを更新して、変更する個々の属性を許可します。

オンライン

createOAuthUserProfileResourceServer


OAuthユーザー・プロファイル・リソース・サーバー・インタフェースを作成します。

オンライン

OAuth MSMプラグイン・コマンド



removeOAuthMSMPlugin


指定されたOAuth MSMプラグインを削除します。

オンライン

createOAuthMSMPlugin

指定されたOAuth MSMプラグインを作成します。

オンライン

updateOAuthMSMPlugin

指定されたOAuth MSMプラグインを更新します。

オンライン

updateOAuthMSMPluginParam

OAuth MSMプラグインを更新します。

オンライン

取得/表示コマンド



getOAuthIdentityDomains


すべての既存のOAuthアイデンティティ・ドメインを取得します。

オンライン

displayOAuthIdentityDomain


指定されたOAuthアイデンティティ・ドメインを表示します。

オンライン

displayOAuthSystemConfig


指定されたOAuthシステム構成を表示します。

オンライン

getOAuthSysComponents


すべての既存のOAuthシステム・コンポーネントを取得します。

オンライン

displayOAuthSysComponent


指定されたOAuthシステム・コンポーネントを表示します。

オンライン

getOAuthServiceProviders


すべての既存のOAuthサービス・プロバイダを取得します。

オンライン

displayOAuthServiceProvider


指定されたOAuthサービス・プロバイダを表示します。

オンライン

getOAuthClients


すべての既存のOAuthクライアントを取得します。

オンライン

displayOAuthClient


指定されたOAuthクライアントを表示します。

オンライン

getOAuthAdaptiveAccessPlugins


すべての既存のOAuthアダプティブ・アクセス・プラグインを取得します。

オンライン

displayOAuthAdaptiveAccessPlugin


指定されたOAuthアダプティブ・アクセス・プラグインを表示します。

オンライン

getOAuthAuthzPlugin


すべての既存のOAuth認可プラグインを取得します。

オンライン

displayOAuthAuthzPlugin


指定されたOAuth認可プラグインを表示します。

オンライン

getOAuthTokenAttributesPlugins


すべての既存のOAuthトークン属性プラグインを取得します。

オンライン

displayOAuthTokenAttributesPlugin


指定されたOAuthトークン属性プラグインを表示します。

オンライン

getOAuthResourceServerInterfaces


すべての既存のOAuthリソース・サーバー・インタフェースを取得します。

オンライン

displayOAuthResourceServerInterface


指定されたOAuthリソース・サーバー・インタフェースを表示します。

オンライン

getOAuthUserProfileResourceServers


すべての既存のOAuthユーザー・プロファイル・リソース・サーバー・プラグインを取得します。

オンライン

displayOAuthUserProfileResourceServer


指定されたOAuthユーザー・プロファイル・リソース・サーバー・プラグインを表示します。

オンライン

getOAuthServiceProfiles


すべての既存のOAuthサービス・プロファイルを取得します。

オンライン

displayOAuthServiceProfile


指定されたOAuthサービス・プロファイルを表示します。

オンライン


removeOAuthIdentityDomain

removeOAuthIdentityDomain

説明

指定されたOAuthアイデンティティ・ドメインを削除します。

構文

removeOAuthIdentityDomain(name)

ここで、nameは、削除するOAuthアイデンティティ・ドメインの名前です。

removeOAuthIdentityDomain('myDomain')

createOAuthIdentityDomain

createOAuthIdentityDomain

説明

新しいOAuthアイデンティティ・ドメインを作成します。

構文

createOAuthIdentityDomain(name, description, allowMultRS, enableMobile, globalUID )

引数 定義
name OAuthアイデンティティ・ドメインの名前。
description OAuthアイデンティティ・ドメインの説明。[オプション]
allowMultRS 複数のリソース・サーバーを許可するブール値のセット。
enableMobile (UIコンソールで使用される)モバイル・パラメータを有効にするブール値のセット。
globalUID グローバル一意識別子。[オプション]

createOAuthIdentityDomain('myDomain', 'My Default Identity Domain', 'true', 'true', ' ')

updateOAuthIdentityDomain

updateOAuthIdentityDomain

説明

OAuthアイデンティティ・ドメインを更新します。

構文

updateOAuthIdentityDomain(name, newName, description, allowMultRS, enableMobile)

引数 定義
name OAuthアイデンティティ・ドメインの名前。
newName OAuthアイデンティティ・ドメインの新しい名前。
description OAuthアイデンティティ・ドメインの説明。[オプション]
allowMultRS 複数のリソース・サーバーを許可するブール値のセット。
enableMobile (UIコンソールで使用される)モバイル・パラメータを有効にするブール値のセット。

updateOAuthIdentityDomain('myDomain','newDomain','My Default Identity Domain','true','true')

updateOAuthIdentityDomainParam

updateOAuthIdentityDomainParam

説明

変更する個々の属性を更新して許可します。

構文

updateOAuthIdentityDomainParam(name, parameter, newvalue)

引数 定義
name OAuthアイデンティティ・ドメインの名前。
parameter 更新するパラメータ: name | description | allowTokenAttrRetrieval | enableMobile
new value 指定されたパラメータの新しい値です。

updateOAuthIdentityDomainParam('myDomain','description','My new Description')

updateOAuthSystemConfig

updateOAuthSystemConfig

説明

アイデンティティ・ドメインのOAuthシステム構成のデフォルト値を更新します。

構文

updateOAuthSystemConfig(identityDomainName, proxyProtocol, proxyHost, proxyPort, proxyUser, minPool, maxPool, keepAlive, maxTokenSearchResult, paramList )

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
proxyProtocol デフォルトのHTTPプロトコル。HTTPまたはHTTPS。[オプション]
proxyHost デフォルトのHTTPプロキシ・ホスト。[オプション]
proxyPort デフォルトのHTTPプロキシ・ポート。[オプション]
proxyUser デフォルトのHTTPプロキシ・ユーザー。[オプション]
minPool Apple Push Notificationのデフォルトの最小接続プール。
maxPool Apple Push Notificationのデフォルトの最大接続プール。
keepAlive Apple Push NotificationのデフォルトのKeepAlive(秒単位)。
maxTokenSearchResult トークン検索の最大の結果(秒単位)。
paramList JSON形式で指定されたパラメータの一覧: [{name1:value1},{name2:value2}...]

updateOAuthSystemConfig('myDomain','HTTP','hostname', '4444', 'user', '1', '3', '300','55','[{param1:val1},{param2:val2}]')

removeOAuthSysComponent

removeOAuthSysComponent

説明

指定されたOAuthシステム・コンポーネントを削除します。

構文

removeOAuthSysComponent(identityDomainName, name )

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthシステム・コンポーネントの名前。

removeOAuthSysComponent('myDomain','myComponent')

createOAuthSysComponent

createOAuthSysComponent

説明

指定されたOAuthシステム・コンポーネントを作成します。

構文

createOAuthSysComponent(identityDomainName, name, description, interClass, implClass, paramList)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthシステム・コンポーネントの名前。
description OAuthシステム・コンポーネントの説明。[オプション]
interClass OAuthシステム・コンポーネントのインタフェース・クラス。
  • 認可および承認プラグイン - oracle.security.idaas.oauth.consent.AuthorizationUserConsent

  • クライアント・プラグイン - oracle.security.idaas.oauth.client.ClientSecurityManager

  • リソース・サーバー・プラグイン - oracle.security.idaas.oauth.resourceserver.ResourceServerProfileService

implClass OAuthシステム・コンポーネントの実装クラス。
paramList JSON形式で指定されたパラメータの一覧: [{name1:value1},{name2:value2}...]

createOAuthSysComponent('myDomain','DefaultUserConsentService','Default User Consent Service','oracle.security.idaas.oauth.consent.AuthorizationUserConsent','oracle.security.idaas.oauth.consent.impl.LDAPAuthorizationUserConsentImpl','[{uc.ldap.username.attr:uid},{uc.ldap.consent.attr:postaladdress},{uc.ldap.userprofile.service:"/UserProfile"}]')

updateOAuthSysComponent

updateOAuthSysComponent

説明

指定されたOAuthシステム・コンポーネントを更新します。

構文

updateOAuthSysComponent(identityDomainName, name, description, interClass, implClass, paramList)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthシステム・コンポーネントの名前。
description OAuthシステム・コンポーネントの説明。[オプション]
interClass OAuthシステム・コンポーネントのインタフェース・クラス。
  • 認可および承認プラグイン - oracle.security.idaas.oauth.consent.AuthorizationUserConsent

  • クライアント・プラグイン - oracle.security.idaas.oauth.client.ClientSecurityManager

  • リソース・サーバー・プラグイン - oracle.security.idaas.oauth.resourceserver.ResourceServerProfileService

implClass OAuthシステム・コンポーネントの実装クラス。
paramList JSON形式で指定されたパラメータの一覧: [{name1:value1},{name2:value2}...]

updateOAuthSysComponent('myDomain','DefaultUserConsentService','Default User Consent Service','oracle.security.idaas.oauth.consent.AuthorizationUserConsent','oracle.security.idaas.oauth.consent.impl.LDAPAuthorizationUserConsentImpl','[{uc.ldap.username.attr:uid},{uc.ldap.consent.attr:postaladdress},{uc.ldap.userprofile.service:"/UserProfile"}]')

removeOAuthServiceProvider

removeOAuthServiceProvider

説明

OAuthサービス・プロバイダ・オブジェクトを削除します。

構文

removeOAuthServiceProvider(identityDomainName, name )

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthサービス・プロバイダの名前。

removeOAuthServiceProvider('myDomain','myProvider')

createOAuthServiceProvider

createOAuthServiceProvider

説明

OAuthサービス・プロバイダを作成します

構文

createOAuthServiceProvider(identityDomainName, name, description, implClass, paramList)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthサービス・プロバイダの名前。
description OAuthサービス・プロバイダの説明。[オプション]
implClass OAuthサービス・プロバイダの実装クラス。
paramList JSON形式で指定されたパラメータの一覧: [{name1:value1},{name2:value2}...]

createOAuthServiceProvider('myDomain','OAuthServiceProvider','OAuth Service Provider','oracle.security.idaas.oauth.token.jwtimpl.OAuthProvider', '[{oam.OAM_VERSION_disabled:OAM_11G},{oam.WEBGATE_ID:accessgate-oic},{oam.ENCRYPTED_PASSWORD:""},{oam.DEBUG_VALUE:0},{oam.TRANSPORT_SECURITY:OPEN},{oam.OAM_SERVER_1:"localhost:5575"},{oam.OAM_SERVER_1_MAX_CONN:4},{oam.OAM_SERVER_2:"oam_server_2:5575"},{oam.OAM_SERVER_2_MAX_CONN:4},{oam.AuthNURLForUID:"wl_authen://sample_ldap_no_pwd_protected_res"}]')

updateOAuthServiceProvider

updateOAuthServiceProvider

説明

OAuthサービス・プロバイダを更新します。

構文

updateOAuthServiceProvider(identityDomainName, name, description, implClass, paramList)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthサービス・プロバイダの名前。
description OAuthサービス・プロバイダの説明。[オプション]
implClass OAuthサービス・プロバイダの実装クラス。
paramList JSON形式で指定されたパラメータの一覧: [{name1:value1},{name2:value2}...]

updateOAuthServiceProvider('myDomain','OAuthServiceProvider','OAuth Service Provider','oracle.security.idaas.oauth.token.jwtimpl.OAuthProvider', '[{oam.OAM_VERSION_disabled:OAM_11G},{oam.WEBGATE_ID:accessgate-oic},{oam.ENCRYPTED_PASSWORD:"welcome"},{oam.DEBUG_VALUE:0},{oam.TRANSPORT_SECURITY:OPEN},{oam.OAM_SERVER_1:"localhost:5575"},{oam.OAM_SERVER_1_MAX_CONN:4},{oam.OAM_SERVER_2:"oam_server_2:5575"},{oam.OAM_SERVER_2_MAX_CONN:4},{oam.AuthNURLForUID:"wl_authen://sample_ldap_no_pwd_protected_res"}]')

updateOAuthServiceProviderParam

updateOAuthServiceProviderParam

説明

特定のパラメータを指定した新しい値で更新します。

構文

updateOAuthServiceProviderParam(identityDomainName, name, param, newvalue)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthサービス・プロバイダの名前。
param 更新するパラメータ: namedescriptionimplClassparamListparamListAdd (指定したパラメータを追加し、既存のパラメータを残します)
newvalue パラメータの新しい値。

removeOAuthClient

removeOAuthClient

説明

OAuthClientオブジェクトを削除します。

構文

removeOAuthClient(identityDomainName, name )

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthクライアントの名前。

removeOAuthClient('myDomain','myClient')

createOAuthClient

createOAuthClient

説明

OAuthClientオブジェクトを作成します。

構文

createOAuthClient(identityDomainName, name, description, globalUID, secret, allowTokenAttrRetrieval, httpRedirectURIList, paramList, mobileRedirectURIList, mobileParams, claimList, minPool, maxPool, keepAlive, production, gcmAppSetting, scopeRequiresUserConsent, scopeInvokeUserConsent, allowAllScopes, resourceServerScopes, scopes, grantTypes, clientType)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthクライアントの名前。
description OAuthクライアントの説明。
globalUID グローバル一意識別子。[オプション]
secret 秘密鍵。
allowTokenAttrRetrieval トークン属性の取得を有効、無効にするブール値。
httpRedirectList JSON形式で指定された1つ以上のリダイレクトURIのリスト。

[{"uri":partial},{"uri2":partial}...]

paramList JSON形式で指定されたパラメータのリスト。

[{name1:value1},{name2:value2}...]

mobileRedirectURIList 1つ以上のモバイル・リダイレクトURIのリスト。[オプション]
mobileParams JSON形式で指定されたパラメータの一覧: [{name1:value1},{name2:value2}...]
claimList クレーム属性のリスト。[オプション]
minPool Apple Push Notificationのデフォルトの最小接続プール。[オプション]
maxPool Apple Push Notificationのデフォルトの最大接続プール。[オプション]
keepAlive Apple Push NotificationのデフォルトのKeepAlive(秒単位)。[オプション]
production productionまたはdevelopmentモードを設定するブール値。[オプション]
gcmAppSetting Google Restricted Packageの名前。[オプション]
scopeRequiresUserConsent ブール値
scopeInvokeUserConsent ブール値
allowAllScopes ブール値
resourceServerScopes リソース・サーバー・スコープのリスト。この引数を使用して、リソース・サーバー・スコープ名の接頭辞を選択します。たとえば、userProfileでは、クライアントがすべてのuserProfileリソース・サーバー・スコープにアクセスすることを許可します。[オプション]
scopes スコープのリスト。この引数を使用して特定のスコープ名を選択します。たとえば、userProfile.me.readです。[オプション]
grantTypes [オプション]付与タイプのリスト。
  • authorization_code

  • code

  • token

  • password

  • client_credentials

  • refresh_token

  • oracle-idm:/oauth/grant-type/user-id-assertion

clientType クライアントのタイプ: CONFIDENTIAL_CLIENTまたはMOBILE_CLIENT

createOAuthClient('myDomain','sampleOAuthMobileClient',
'sample client app','1234567890','quiet','true',
'[{"http://localhost:7005:/base_domain/domainRuntime":false}]','[{par1:val1}]',
'','[{mobpar1:mobval1}]',
'oracle:idm:claims:client:geolocation,oracle:idm:claims:client:imei,
oracle:idm:claims:client:jailbroken,oracle:idm:claims:client:locale,
oracle:idm:claims:client:macaddress,oracle:idm:claims:client:networktype,
oracle:idm:claims:client:ostype,oracle:idm:claims:client:osversion,
oracle:idm:claims:client:phonecarriername,oracle:idm:claims:client:phonenumber,
oracle:idm:claims:client:sdkversion,oracle:idm:claims:client:udid,
oracle:idm:claims:client:vpnenabled,oracle:idm:claims:client:fingerprint',
'1','3','300','false','gcm','true','false','true','','',
'authorization_code,client_credentials','MOBILE_CLIENT')

updateOAuthClient

updateOAuthClient

説明

OAuthClientを更新します。

構文

updateOAuthClient(identityDomainName, name, description, secret, allowTokenAttrRetrieval, httpRedirectURIList, paramList, mobileRedirectURIList, mobileParams, claimList, minPool, maxPool, keepAlive, production, gcmAppSetting, scopeRequiresUserConsent, scopeInvokeUserConsent, allowAllScopes, resourceServerScopes, scopes, grantTypes, clientType)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthクライアントの名前。
description OAuthクライアントの説明。
secret 秘密鍵。
allowTokenAttrRetrieval トークン属性の取得を有効、無効にするブール値。
httpRedirectList JSON形式で指定された1つ以上のリダイレクトURIのリスト。

[{"uri":partial},{"uri2":partial}...]

paramList JSON形式で指定されたパラメータのリスト。

[{name1:value1},{name2:value2}...]

mobileRedirectURIList 1つ以上のモバイル・リダイレクトURIのリスト。[オプション]
mobileParams JSON形式で指定されたパラメータの一覧: [{name1:value1},{name2:value2}...]
claimList クレーム属性のリスト。[オプション]
minPool Apple Push Notificationのデフォルトの最小接続プール。[オプション]
maxPool Apple Push Notificationのデフォルトの最大接続プール。[オプション]
keepAlive Apple Push NotificationのデフォルトのKeepAlive(秒単位)。[オプション]
production productionまたはdevelopmentモードを設定するブール値。[オプション]
gcmAppSetting Google Restricted Packageの名前。[オプション]
scopeRequiresUserConsent ブール値
scopeInvokeUserConsent ブール値
allowAllScopes ブール値
resourceServerScopes リソース・サーバー・スコープのリスト。[オプション]
scopes スコープのリスト。[オプション]
grantTypes [オプション]付与タイプのリスト。
  • authorization_code

  • code

  • token

  • password

  • client_credentials

  • refresh_token

  • oracle-idm:/oauth/grant-type/user-id-assertion

clientType クライアントのタイプ: CONFIDENTIAL_CLIENTまたはMOBILE_CLIENT ,ALL

updateOAuthClient('myDomain','sampleOAuthMobileClient',
'sample client app','quiet',
'[{"http://localhost:7005:/base_domain/domainRuntime":false}]',
'[{par1:val1}]','','[{mobpar1:mobval1}]','oracle:idm:claims:client:geolocation,
oracle:idm:claims:client:imei,oracle:idm:claims:client:jailbroken,
oracle:idm:claims:client:locale,oracle:idm:claims:client:macaddress,
oracle:idm:claims:client:networktype,oracle:idm:claims:client:ostype,
oracle:idm:claims:client:osversion,oracle:idm:claims:client:phonecarriername,
oracle:idm:claims:client:phonenumber,oracle:idm:claims:client:sdkversion,
oracle:idm:claims:client:udid,oracle:idm:claims:client:vpnenabled,
oracle:idm:claims:client:fingerprint','1','3','300','false','gcm','true','false',
'true','','','authorization_code,client_credentials','MOBILE_CLIENT')

updateOAuthClientParam

updateOAuthClientParam

説明

特定のパラメータを指定した新しい値で更新します。

構文

updateOAuthClient(identityDomainName, name, param, newvalue)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthクライアントの名前。
param 更新するパラメータ: [name, description, secret, allowTokenAttrRetrieval, httpRedirectURIList, paramList, paramListAdd (指定されたパラメータを追加し、既存のパラメータを残します), mobileRedirectURIList]
newvalue パラメータの新しい値。

updateOAuthClientParam('myDomain','sampleOAuthMobileClient','secret',
'xpalkdnwe3')

removeOAuthServiceProfile

removeOAuthServiceProfile

説明

サービス・プロファイルを削除します。

構文

removeOAuthServiceProfile(identityDomainName, name)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthサービス・プロファイルの名前。

removeOAuthServiceProfile('myDomain','myServiceProfile')

createOAuthServiceProfile

createOAuthServiceProfile

説明

サービス・プロファイルを作成します。

構文

createOAuthServiceProfile(identityDomainName, name, description, adAccessPlugin, tokenAttrPlugin, clientPlugin, pluginMode, resourceServerProfilePlugin, authzUserConsentPlugin, allResourceServerInterfaces, resourceServers, allClients, clientAppBindings, preferredHardwareIdList, androidSender, androidSecurityLevel, iosSecurityLevel, otherSecurityLevel, consentServiceProtection, clientRegRequiresUserConsent, serviceProvider, endpoint, serviceEnable, mobilePreAuthzExpire, mobilePreAuthzEnable, authzExpire, authzEnable, clientExpire, clientEnable, clientRefreshExpire, clientRefreshEnable, userExpire, userEnable, userRefreshExpire, userRefreshEnable, accessExpire, accessEnable, accessRefreshExpire, accessRefreshEnable, paramList, mobParamList, userAuthenticator, tokenStatic, tokenDynamic)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthシステム・コンポーネントの名前。
description OAuthサービス・プロファイルの説明。[オプション]
adAccessPlugin アダプティブ・アクセス・プラグイン。[オプション]
tokenAttrPlugin トークン属性プラグイン。[オプション]
clientPlugin クライアント・プラグインの名前。
pluginMode クライアント・プラグイン・モード。ALL_LOCAL_STORAGEまたはALL_PLUGIN_DELEGATION
resourceServerProfilePlugin リソース・サーバー・プロファイル・プラグイン。
authzUserConsentPlugin 認可ユーザー承諾プラグイン。
allResourceServerInterfaces サービス・プロファイルが一般的な(false)インタフェースを含むことができるかどうかを示すブール値。
resourceServers リソース・サーバーのリスト。
allClients サービス・プロファイルがすべてのクライアントに適用されることを指定するブール値。
clientAppBindings [オプション] JSON形式で指定されたクライアント・アプリケーション・バインディングのリスト。

[{client:client1,role:SSOAgent,priority:45,param:[{param1:value},{param2:value2}]}]

preferredHardwareIdList カンマで区切られたハードウェアIDのリスト。
androidSender GCM送信者のID。[オプション]
androidSecurityLevel Androidセキュリティ・レベル: HIGHまたはMEDIUMまたはLOW
iosSecurityLevel iOSセキュリティ・レベル: HIGHまたはMEDIUMまたはLOW
otherSecurityLevel その他のセキュリティ・レベル: HIGHまたはMEDIUMまたはLOW
consentServiceProtection サービス保護モード: OAMまたはJWT_IDSまたはJWT_OAM
clientRegRequiresUserConsent クライアント登録でユーザー承諾が必要かどうかを指定するブール値。
serviceProvider サービス・プロバイダ。
endpoint サービス・エンドポイント。
serviceEnable サービス・プロファイルを有効、無効にするブール値。trueまたはfalse
mobilePreAuthzExpire モバイル事前認可コードの有効期間の長さ(秒単位)。[オプション]
mobilePreAuthzEnable モバイル事前認可コードを有効、無効にするブール値。[オプション] trueまたはfalse
authzExpire 認可コードの有効期限(秒単位)。[オプション]
authzEnable 認可コードを有効、無効にするブール値。[オプション] trueまたはfalse
clientExpire クライアント・トークン認可コードの有効期限(秒単位)。[オプション]
clientEnable クライアント・トークンを有効、無効にするブール値。[オプション] trueまたはfalse
clientRefreshExpire クライアント更新トークンの有効期限(秒単位)。[オプション]
clientRefreshEnable クライアント更新トークンを有効、無効にするブール値。[オプション]
userExpire ユーザー・トークンの有効期限(秒単位)。[オプション]
userEnable ユーザー・トークンを有効、無効にするブール値。[オプション]
userRefreshExpire ユーザー更新トークンの有効期限(秒単位)。[オプション]
userRefreshEnable ユーザー更新トークンを有効、無効にするブール値。[オプション]
accessExpire アクセス・トークンの有効期限(秒単位)。
accessEnable アクセス・トークンが有効なブール値。
accessRefreshExpire アクセス更新トークンの有効期限(秒単位)。
accessRefreshEnable アクセス更新トークンが有効なブール値。
paramList JSON形式で指定されたパラメータのリスト。

[{name1:value1},{name2:value2}...]

mobParamList JSON形式で指定されたモバイル・クライアント・パラメータのリスト。

[{name1:value1},{name2:value2}...]

userAuthenticator ユーザー・オーセンティケータ。IDSまたはOAM
tokenStatic [オプション] JSON形式で指定された静的トークン属性。

[{name1:value1},{name2:value2}...]

tokenDynamic 動的トークン属性リスト。[オプション]

createOAuthServiceProfile('myDomain', 'OAuthServiceProfile', 
'OAuth Service Profile','sampleSecurityPlugin','defaultTokenAttrPlugin',
'DefaultClientSecurityManager','ALL_LOCAL_STORAGE',
'DefaultResourceServerProfilePlugin','AuthzUserConsentPlugin',
'false','sampleResourceServerInterface','false',
'[{client:sampleOAuthClient,role:SSOAgent,priority:45,param:[{param1:val1},
{param2:val2}]},{client:sampleOwsmOAuthClient,role:SSOAgent,priority:45,
param:[{param1:val1},{param2:val2}]}]','','GoogleCloudMessaging','HIGH','MEDIUM',
'LOW','OAM','true','OAuthServiceProvider','/oauthserv','true','150','false',
'900','true','28800','true','604800','true','28800','true','0','false','3600',
'true','28800','true','[{oracle.id.name:userrole},{jwt.CryptoScheme:RS512},
{jwt.issuer:www.oracle.example.com}]','[{mobileParamName:mobileParamValue}]',
'OAM','[{attr1:val1}]','attr1,attr2,attr3')

updateOAuthServiceProfile

updateOAuthServiceProfile

説明

サービス・プロファイルを更新します。

構文

updateOAuthServiceProfile(identityDomainName, name, description, adAccessPlugin, tokenAttrPlugin, clientPlugin, pluginMode, resourceServerProfilePlugin, authzUserConsentPlugin, allResourceServerInterfaces, resourceServers, allClients, clientAppBindings, preferredHardwareIdList,androidSender, androidSecurityLevel, iosSecurityLevel, otherSecurityLevel, consentServiceProtection, clientRegRequiresUserConsent, serviceProvider, endpoint, serviceEnable, mobilePreAuthzExpire, mobilePreAuthzEnable, authzExpire, authzEnable, clientExpire, clientEnable, clientRefreshExpire, clientRefreshEnable, userExpire, userEnable, userRefreshExpire, userRefreshEnable, accessExpire, accessEnable, accessRefreshExpire, accessRefreshEnable, paramList, mobParamList, userAuthenticator, tokenStatic, tokenDynamic)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthサービス・プロファイルの名前。
description OAuthサービス・プロファイルの説明。[オプション]
adAccessPlugin アダプティブ・アクセス・プラグイン。[オプション]
tokenAttrPlugin トークン属性プラグイン。[オプション]
clientPlugin クライアント・プラグインの名前。
pluginMode クライアント・プラグイン・モード。ALL_LOCAL_STORAGEまたはALL_PLUGIN_DELEGATION
resourceServerProfilePlugin リソース・サーバー・プロファイル・プラグイン。
authzUserConsentPlugin 認可ユーザー承諾プラグイン。
allResourceServerInterfaces サービス・プロファイルが一般的な(false)インタフェースを含むことができるかどうかを示すブール値。
resourceServers リソース・サーバーのリスト。
allClients サービス・プロファイルがすべてのクライアントに適用されることを指定するブール値。
clientAppBindings [オプション] JSON形式で指定されたクライアント・アプリケーション・バインディングのリスト。

[{client:client1,role:SSOAgent,priority:45,param:[{param1:value},{param2:value2}]}]

preferredHardwareIdList カンマで区切られたハードウェアIDのリスト。
androidSender GCM送信者のID。[オプション]
androidSecurityLevel Androidセキュリティ・レベル: HIGHまたはMEDIUMまたはLOW
iosSecurityLevel iOSセキュリティ・レベル: HIGHまたはMEDIUMまたはLOW
otherSecurityLevel その他のセキュリティ・レベル: HIGHまたはMEDIUMまたはLOW
consentServiceProtection サービス保護モード: OAMまたはJWT_IDSまたはJWT_OAM
clientRegRequiresUserConsent クライアント登録でユーザー承諾が必要かどうかを指定するブール値。
serviceProvider サービス・プロバイダ。
endpoint サービス・エンドポイント。
serviceEnable サービス・プロファイルを有効、無効にするブール値。trueまたはfalse
mobilePreAuthzExpire モバイル事前認可コードの有効期間の長さ(秒単位)。[オプション]
mobilePreAuthzEnable モバイル事前認可コードを有効、無効にするブール値。[オプション] trueまたはfalse
authzExpire 認可コードの有効期限(秒単位)。[オプション]
authzEnable 認可コードを有効、無効にするブール値。[オプション] trueまたはfalse
clientExpire クライアント・トークン認可コードの有効期限(秒単位)。[オプション]
clientEnable クライアント・トークンを有効、無効にするブール値。[オプション] trueまたはfalse
clientRefreshExpire クライアント更新トークンの有効期限(秒単位)。[オプション]
clientRefreshEnable クライアント更新トークンを有効、無効にするブール値。[オプション]
userExpire ユーザー・トークンの有効期限(秒単位)。[オプション]
userEnable ユーザー・トークンを有効、無効にするブール値。[オプション]
userRefreshExpire ユーザー更新トークンの有効期限(秒単位)。[オプション]
userRefreshEnable ユーザー更新トークンを有効、無効にするブール値。[オプション]
accessExpire アクセス・トークンの有効期限(秒単位)。
accessEnable アクセス・トークンが有効なブール値。
accessRefreshExpire アクセス更新トークンの有効期限(秒単位)。
accessRefreshEnable アクセス更新トークンが有効なブール値。
paramList JSON形式で指定されたパラメータのリスト。

[{name1:value1},{name2:value2}...]

mobParamList JSON形式で指定されたモバイル・クライアント・パラメータのリスト。

[{name1:value1},{name2:value2}...]

userAuthenticator ユーザー・オーセンティケータ。IDSまたはOAM
tokenStatic [オプション] JSON形式で指定された静的トークン属性。

[{name1:value1},{name2:value2}...]

tokenDynamic 動的トークン属性リスト。[オプション]

updateOAuthServiceProfile('myDomain', 'OAuthServiceProfile', 'OAuth Service Profile','sampleSecurityPlugin','defaultTokenAttrPlugin','DefaultClientSecurityManager','ALL_LOCAL_STORAGE','DefaultResourceServerProfilePlugin','AuthzUserConsentPlugin','false','sampleResourceServerInterface','false','[{client:sampleOAuthClient,role:SSOAgent,priority:45,param:[{param1:val1},{param2:val2}]},{client:sampleOwsmOAuthClient,role:SSOAgent,priority:45,param:[{param1:val1},{param2:val2}]}]','oracle:idm:claims:client:iosidforvendor,oracle:idm:claims:client:macaddress,oracle:idm:claims:client:imei','GoogleCloudMessaging','HIGH','MEDIUM','LOW','OAM','true','OAuthServiceProvider','/oauthserv','true','150','false','900','true','28800','true','604800','true','28800','true','0','false','3600','true','28800','true','[{oracle.id.name:userrole},{jwt.CryptoScheme:RS512},{jwt.issuer:www.oracle.example.com}]','[{mobileParamName:mobileParamValue}]','OAM','[{attr1:val1}]','attr1,attr2,attr3')

updateOAuthServiceProfileParam

updateOAuthServiceProfileParam

説明

特定のパラメータを指定した新しい値で更新します。

構文

updateOAuthServiceProfileParam(domainName, name, parameter, newvalue)

引数 定義
domainName OAuthアイデンティティ・ドメインの名前。
name OAuthサービス・プロファイルの名前。
parameter 更新するパラメータ: name | description | adAccessPlugin | msmPlugin | tokenAttrPlugin | clientPlugin | pluginMode | resourceServerProfilePlugin | authzUserConsentPlugin | allResourceServerInterfaces | resourceServers | allClients | clientAppBindings | androidSender | androidSecurityLevel | iosSecurityLevel | otherSecurityLevel | consentServiceProtection | clientRegRequiresUserConsent | serviceProvider | endpoint | serviceEnable | mobilePreAuthzExpire | mobilePreAuthzEnable | authzExpire | authzEnable | clientExpire | clientEnable | clientRefreshExpire | clientRefreshEnable | userExpire | userEnable | userRefreshExpire | userRefreshEnable | accessExpire | accessEnable | accessRefreshExpire | accessRefreshEnable | paramList | paramListAdd | mobParamList | userAuthenticator | tokenStatic | tokenDynamic | preferredHardwareIdList | preferredHardwareIdListAdd
newvalue 指定されたパラメータの新しい値です。

updateOAuthServiceProfileParam('myDomain', 'OAuthServiceProfile',
'description','My new Description')

removeOAuthAdaptiveAccessPlugin

removeOAuthAdaptiveAccessPlugin

説明

指定されたOAuthアダプティブ・アクセス・プラグインを削除します。

構文

removeOAuthAdaptiveAccessPlugin(identityDomainName,name)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthシステム・コンポーネントの名前。

removeOAuthAdaptiveAccessPlugin('myDomain','myComponent')

createOAuthAdaptiveAccessPlugin

createOAuthAdaptiveAccessPlugin

説明

指定されたOAuthアダプティブ・アクセス・プラグインを作成します。

構文

createOAuthAdaptiveAccessPlugin(identityDomainName, name, description, implClass, paramList)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthプラグインの名前。
description OAuthプラグインの説明。[オプション]
implClass OAuthプラグインの実装クラス。
paramList JSON形式で指定されたパラメータの一覧: [{name1:value1},{name2:value2}...]

createOAuthAdaptiveAccessPlugin('myDomain','sampleSecurityPlugin','sample adaptive access plugin', 'oracle.security.idaas.rest.provider.plugin.impl.DebugMobileSecurityHandlerImpl','[{OAUTH_TEST:true},{EMU_DEVICE_REG:true},{EMU_HANDLE:false}]')

updateOAuthAdaptiveAccessPlugin

updateOAuthAdaptiveAccessPlugin

説明

指定されたOAuthアダプティブ・アクセス・プラグインを更新します。

構文

updateOAuthAdaptiveAccessPlugin(identityDomainName, name, description, implClass, paramList)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthプラグインの名前。
description OAuthプラグインの説明。[オプション]
implClass OAuthプラグインの実装クラス。
paramList JSON形式で指定されたパラメータの一覧: [{name1:value1},{name2:value2}...]

updateOAuthAdaptiveAccessPlugin('myDomain','sampleSecurityPlugin','sample adaptive access plugin','oracle.security.idaas.rest.provider.plugin.impl.DebugMobileSecurityHandlerImpl','[{OAUTH_TEST:true},{EMU_DEVICE_REG:true},{EMU_HANDLE:false}]')

removeOAuthTokenAttributesPlugin

removeOAuthTokenAttributesPlugin

説明

指定されたOAuthトークン属性プラグインを削除します。

構文

removeOAuthTokenAttributesPlugin(identityDomainName,name)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthシステム・コンポーネントの名前。

removeOAuthTokenAttributesPlugin('myDomain','myComponent')

createOAuthTokenAttributesPlugin

createOAuthTokenAttributesPlugin

説明

指定されたOAuthトークン属性プラグインを作成します。

構文

createOAuthTokenAttributesPlugin(identityDomainName, name, description,implClass, paramList)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthプラグインの名前。
description OAuthプラグインの説明。[オプション]
implClass OAuthプラグインの実装クラス。
paramList JSON形式で指定されたパラメータの一覧: [{name1:value1},{name2:value2}...]

createOAuthTokenAttributesPlugin('myDomain','testTokenAttributesPlugin','test token attributes plugin','oracle.security.idaas.rest.provider.plugin.impl.DebugTokenAttributesHandlerImpl','[{paramName:paramValue}]')

updateOAuthTokenAttributesPlugin

updateOAuthTokenAttributesPlugin

説明

指定されたOAuthトークン属性プラグインを更新します。

構文

updateOAuthTokenAttributesPlugin(identityDomainName, name, description, implClass, paramList)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthプラグインの名前。
description OAuthプラグインの説明。[オプション]
implClass OAuthプラグインの実装クラス。
paramList JSON形式で指定されたパラメータの一覧: [{name1:value1},{name2:value2}...]

updateOAuthTokenAttributesPlugin('myDomain','testTokenAttributesPlugin','test token attributes plugin', 'oracle.security.idaas.rest.provider.plugin.impl.DebugTokenAttributesHandlerImpl','[{paramName:paramValue}]')

removeOAuthResourceServerInterface

removeOAuthResourceServerInterface

説明

OAuthリソース・サーバー・インタフェースを削除します。

構文

removeOAuthResourceServerInterface(identityDomainName, name )

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthリソース・サーバー・インタフェースの名前。

removeOAuthResourceServerInterface('myDomain','myComponent')

updateOAuthResourceServerInterface

updateOAuthResourceServerInterface

説明

OAuthリソース・サーバー・インタフェースを更新します。

構文

updateOAuthResourceServerInterface(identityDomainName, name, description, secret, allowTokenAttrRetrieval, namespacePrefix, audienceClaim, scopeList, offlineScope, authzUserConsentPluginRef, overriddenAuthzExpire, overriddenAuthzEnable, overriddenAccessExpire, overriddenAccessEnable, overriddenAccessRefreshExpire, overriddenAccessRefreshEnable, tokenStatic, tokenDynamic)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthリソース・サーバー・インタフェースの名前。
description OAuthリソース・サーバー・インタフェースの説明。
secret 秘密鍵。
allowTokenAttrRetrieval トークン属性の取得を有効、無効にするブール値。
namespacePrefix 名前空間の接頭辞。[オプション]
audienceClaim オーディエンス要求のURI。[オプション]
scopeList JSON形式で指定されたパラメータのリスト。

[{scopeName:myName,includedInDefault:true,userOffline:true,requiresConsent:true,scopeDesc:[{en-us:value},{en:value2}]}]

offlineScope オフラインのスコープ。[オプション]
authzUserConsentPluginRef 認可ユーザー承諾プラグイン参照。
overriddenAuthzExpire オーバーライドされた認可コードの有効期限(秒単位)。
overriddenAuthzEnable 認可オーバーライド・オプションを有効、無効にするブール値。
overriddenAccessExpire オーバーライドされたアクセス・トークンの有効期限(秒単位)。
overriddenAccessEnable アクセス・トークン・オーバーライド・オプションを有効、無効にするブール値。
overriddenAccessRefreshExpire オーバーライドされたアクセス更新トークンの有効期限(秒単位)。
overriddenAccessRefreshEnable アクセス更新オーバーライド・オプションを有効、無効にするブール値。
tokenStatic JSON形式で指定された静的トークン属性のリスト: [{name1:value1},{name2:value2}...]
tokenDynamic 動的トークン属性リスト。

updateOAuthResourceServerInterface('myDomain','sampleResourceServerInterface','sample portal content resource server','secret','true','namespaceprefix.','audienceClaim','[{scopeName:samplePortalContentServer.portal.read,includedInDefault:false,userOffline:false,requiresConsent:true,scopeDesc:[{en-us:read portal content}]},{scopeName:samplePortalContentServer.portal.write,includedInDefault:false,userOffline:false,requiresConsent:true,scopeDesc:[{en-us:write portal content}]}]','offlineScope','AuthzUserConsentPlugin','1200','false','7200','false','28801','false','[]','')

updateOAuthResourceServerInterfaceParam

updateOAuthResourceServerInterfaceParam

説明

特定のパラメータを指定した新しい値で更新します。

構文

updateOAuthResourceServerInterfaceParam(identityDomainName, name, param, newvalue)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthリソース・サーバー・インタフェースの名前。
param 更新するパラメータ: [name, description, secret, allowTokenAttrRetrieval, namespacePrefix, audienceClaim, scopeList, offlineScope, authzUserConsentPluginRef].
newvalue パラメータの新しい値。

updateOAuthResourceServerInterfaceParam('myDomain',
'sampleResourceServerInterface','namespacePrefix','xyz.')

createOAuthResourceServerInterface

createOAuthResourceServerInterface

説明

OAuthリソース・サーバー・インタフェースを作成します。

構文

createOAuthResourceServerInterface(identityDomainName, name, description, globalUID, secret, allowTokenAttrRetrieval, namespacePrefix, audienceClaim, scopeList, offlineScope, authzUserConsentPluginRef, overriddenAuthzExpire, overriddenAuthzEnable, overriddenAccessExpire, overriddenAccessEnable, overriddenAccessRefreshExpire, overriddenAccessRefreshEnable, tokenStatic, tokenDynamic)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthリソース・サーバー・インタフェースの名前。
description OAuthリソース・サーバー・インタフェースの説明。
globalUID グローバル一意識別子。[オプション]
secret 秘密鍵。
allowTokenAttrRetrieval トークン属性の取得を有効、無効にするブール値。
namespacePrefix 名前空間の接頭辞。[オプション]
audienceClaim オーディエンス要求のURI。[オプション]
scopeList JSON形式で指定されたパラメータのリスト。

[{scopeName:myName,includedInDefault:true,userOffline:true,requiresConsent:true,scopeDesc:[{en-us:value},{en:value2}]}]

offlineScope オフラインのスコープ。[オプション]
authzUserConsentPluginRef 認可ユーザー承諾プラグイン参照。
overriddenAuthzExpire オーバーライドされた認可コードの有効期限(秒単位)。
overriddenAuthzEnable 認可オーバーライド・オプションを有効、無効にするブール値。
overriddenAccessExpire オーバーライドされたアクセス・トークンの有効期限(秒単位)。
overriddenAccessEnable アクセス・トークン・オーバーライド・オプションを有効、無効にするブール値。
overriddenAccessRefreshExpire オーバーライドされたアクセス更新トークンの有効期限(秒単位)。
overriddenAccessRefreshEnable アクセス更新オーバーライド・オプションを有効、無効にするブール値。
tokenStatic JSON形式で指定された静的トークン属性のリスト: [{name1:value1},{name2:value2}...]
tokenDynamic 動的トークン属性リスト。

createOAuthResourceServerInterface('myDomain','sampleResourceServerInterface',
'sample portal content resource server','','secret','true','namespaceprefix.',
'audienceClaim','[{scopeName:samplePortalContentServer.portal.read,
includedInDefault:false,userOffline:false,requiresConsent:true,
scopeDesc:[{en-us:read portal content}]},
{scopeName:samplePortalContentServer.portal.write,
includedInDefault:false,userOffline:false,requiresConsent:true,
scopeDesc:[{en-us:write portal content}]}]',
'offlineScope','AuthzUserConsentPlugin','1200','false','7200','false','28801',
'false','[]','')

removeOAuthUserProfileResourceServer

removeOAuthUserProfileResourceServer

説明

OAuthユーザー・プロファイル・リソース・サーバー・インタフェースを削除します。

構文

removeOAuthUserProfileResourceServer(identityDomainName, name)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthユーザー・プロファイル・リソース・サーバー・インタフェースの名前。

removeOAuthUserProfileResourceServer('myDomain','myComponent')

updateOAuthUserProfileResourceServer

updateOAuthUserProfileResourceServer

説明

OAuthユーザー・プロファイル・リソース・サーバー・インタフェースを更新します。

構文

updateOAuthUserProfileResourceServer(identityDomainName, resName, resDesc, secret, namespacePrefix, authzPluginRef, scopeList, offlineScope, authzExpire, authzEnable, accessExpire, accessEnable, accessRefreshExpire, accessRefreshEnable, tokenStatic, tokenDynamic, endpoint, enabled, subResource, paramList)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
resName OAuthリソース・サーバー・インタフェースの名前。
resDesc OAuthリソース・サーバー・インタフェースの説明。
secret 秘密鍵。
namespacePrefix 名前空間の接頭辞。
authzPluginRef 認可プラグイン参照。
scopeList JSON形式で指定されたパラメータのリスト。

[{scopeName:myName,includedInDefault:true,userOffline:true,requiresConsent:true,scopeDesc:[{en-us:value},{en:value2}]}]

offlineScope オフラインのスコープ。[オプション]
authzExpire 認可コードの有効期限(秒単位)。
authzEnable 認可コード・オプションを有効、無効にするブール値。
accessExpire アクセス・トークンの有効期限(秒単位)。
accessEnable アクセス・トークン・オプションを有効、無効にするブール値。
accessRefreshExpire アクセス更新トークンの有効期限(秒単位)。
accessRefreshEnable アクセス更新オプションを有効、無効にするブール値。
tokenStatic JSON形式で指定された静的トークン属性のリスト: [{name1:value1},{name2:value2}...]
tokenDynamic 動的トークン属性リスト。
endpoint サービス・エンドポイント。
enabled 有効、無効にするブール値。
subResource JSON形式で指定:

[{endpoint:"/sub",enabled:true,implClass:com.oracle.impl,

entities:[{attributes:"at1,at2",

relationship:[{

name:people_groups,endpoint:memberOf,

srcEntity:person-uri,destEntity:group-uri}]}],

binding:[{method:GET,allow:true,scope:myscope,addScope:[{name:newscope,attr:"var1,var2"}],

param:[{param1:val1}]}]}]

paramList JSON形式で指定されたパラメータの一覧: [{name1:value1},{name2:value2}...]

 updateOAuthUserProfileResourceServer('myDomain','userProfile',
'Out Of The Box User Profile Resource Server','welcome1',
'[{scopeName:userProfile.users.read,includedInDefault:false,userOffline:false,
requiresConsent:false,scopeDesc:[{en-us:read any user default profile}]},
{scopeName:userProfile.users.write,includedInDefault:false,userOffline:false,
requiresConsent:false,scopeDesc:[{en-us:write any user default profile}]},
{scopeName:userProfile.group.read,includedInDefault:false,userOffline:false,
requiresConsent:false,scopeDesc:[{en-us:read any group default profile}]},
{scopeName:userProfile.group.write,includedInDefault:false,userOffline:false,
requiresConsent:false,scopeDesc:[{en-us:write any group default profile}]},
{scopeName:userProfile.me.read,includedInDefault:false,userOffline:false,
requiresConsent:true,scopeDesc:[{en-us:read my default profile}]},
{scopeName:userProfile.me.write,includedInDefault:false,userOffline:false,
requiresConsent:true,scopeDesc:[{en-us:write my default profile}]},
{scopeName:userProfile.me.password,includedInDefault:false,userOffline:false,
requiresConsent:true,scopeDesc:[{en-us:write my default password}]}]',
'namespace','userrole','defaultPlugin','900','true','604800','true','28800',
'true','/myuserprofile','false','[{accessControl:false},
{adminGroup:"cn=Administrators,ou=groups,ou=myrealm,dc=base_domain"},
{selfEdit:true}]','[{endpoint:"/me",
enabled:true,implClass:oracle.security.idaas.oauth.jaxrs.Me,
entities:[{attributes:"",relationship:[{name:people_groups,
endpoint:memberOf,srcEntity:person-uri,destEntity:group-uri,scopeNames:""},
{name:people_manager,endpoint:manager,srcEntity:report-uri,
destEntity:manager-uri,scopeNames:""}]}],binding:[{method:"GET",
allow:true,scope:myscope,addScope:[{name:userProfile.me.read,attr:"uid,mail,
description,commonname,firstname,lastname"},{name:userProfile.me.password,
attr:password}]},{method:"POST,PUT,DELETE",allow:true,scope:myscope,
addScope:[{name:userProfile.me.write,attr:"uid,mail,description,commonname,
firstname,lastname"},{name:userProfile.me.password,attr:password}]}],param:[]},
{endpoint:"/users",enabled:true,implClass:oracle.
security.idaas.oauth.jaxrs.Users,entities:[{attributes:"",
relationship:[{name:people_groups,endpoint:memberOf,srcEntity:person-uri,
destEntity:group-uri,scopeNames:""},{name:people_manager,endpoint:manager,
srcEntity:report-uri,destEntity:manager-uri,scopeNames:""}]}],
binding:[{method:"GET",allow:true,scope:myscope,
addScope:[{name:userProfile.users.read,attr:"uid,mail,description,commonname,
firstname,lastname"}]},{method:"POST,PUT,DELETE",allow:true,scope:myscope,
addScope:[{name:userProfile.users.write,attr:"uid,mail,description,commonname,
firstname,lastname"}]}],param:[]},{endpoint:"/groups",enabled:true,
implClass:oracle.security.idaas.oauth.jaxrs.Groups,entities:[{attributes:"",
relationship:[{name:groups_people,endpoint:memberOf,srcEntity:group-uri,
destEntity:person-uri,scopeNames:""}]}],binding:[{method:"GET",allow:true,
scope:myscope,addScope:[{name:userProfile.group.read,attr:"name,description"}]},
{method:"POST,PUT,DELETE",allow:true,scope:myscope,
addScope:[{name:userProfile.group . write,attr:"name,description"}]}],
param:[]}]','[{param1:val1},{param2:val2}]','attr1,attr2')

updateOAuthResourceServerInterfaceParam

updateOAuthResourceServerInterfaceParam

説明

OAuthリソース・サーバー・インタフェースを更新して、変更する個々の属性を許可します。

構文

updateOAuthResourceServerInterfaceParam(domainName, name, parameter, newvalue)

引数 定義
domainName OAuthアイデンティティ・ドメインの名前。
name OAuthリソース・サーバー・インタフェースの名前。
parameter 更新するパラメータ: name | description | allowTokenAttrRetrieval | secret | namespacePrefix
newvalue 指定されたパラメータの新しい値です。

updateOAuthResourceServerInterfaceParam('myDomain','Resource','description','My new Description')

createOAuthUserProfileResourceServer

createOAuthUserProfileResourceServer

説明

OAuthユーザー・プロファイル・リソース・サーバー・インタフェースを作成します。

構文

createOAuthUserProfileResourceServer(identityDomainName, resName, resDesc, globalUID, secret, scopeList, namespacePrefix, idsName, authzPluginRef, authzExpire, authzEnable, accessExpire, accessEnable, accessRefreshExpire, accessRefreshEnable, endpoint, enabled, paramList, subResourceList, tokenStatic, tokenDynamic)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
resName OAuthリソース・サーバー・インタフェースの名前。
resDesc OAuthリソース・サーバー・インタフェースの説明。
globalUID グローバル一意識別子。(省略可能)
secret 秘密鍵。
scopeList JSON形式で指定されたパラメータのリスト。

[{scopeName:myName,includedInDefault:true,userOffline:true,requiresConsent:true,scopeDesc: [{en-us:value},{en:value2}]}]

namespacePrefix 名前空間の接頭辞。
idsName アイデンティティ・ディレクトリ・サービス名。
authzPluginRef 認可プラグイン参照。
authzExpire 認可コードの有効期限(秒単位)。
authzEnable 認可コード・オプションを有効、無効にするブール値。
accessExpire アクセス・トークンの有効期限(秒単位)。
accessEnable アクセス・トークン・オプションを有効、無効にするブール値。
accessRefreshExpire アクセス更新トークンの有効期限(秒単位)。
accessRefreshEnable アクセス更新オプションを有効、無効にするブール値。
endpoint サービス・エンドポイント。
enabled 有効、無効にするブール値。
paramList JSON形式で指定されたパラメータの一覧: [{name1:value1},{name2:value2}...]
subResource JSON形式で指定:

[{endpoint:"/sub",enabled:true,implClass:com.oracle.impl,

entities:[{attributes:"at1,at2",

relationship:[{

name:people_groups,endpoint:memberOf,

srcEntity:person-uri,destEntity:group-uri}]}],

binding:[{method:GET,allow:true,scope:myscope,addScope:[{name:newscope,attr:"var1,var2"}],

param:[{param1:val1}]}]}]

tokenStatic JSON形式で指定された静的トークン属性のリスト: [{name1:value1},{name2:value2}...]
tokenDynamic 動的トークン属性リスト。

createOAuthUserProfileResourceServer('myDomain','userProfile',
'Out Of The Box User Profile Resource Server','555888','welcome1',
'[{scopeName:userProfile.users.read,includedInDefault:false,userOffline:false,
requiresConsent:false,scopeDesc:[{en-us:read any user default profile}]},
{scopeName:userProfile.users.write,includedInDefault:false,userOffline:false,
requiresConsent:false,scopeDesc:[{en-us:write any user default profile}]},
{scopeName:userProfile.group.read,includedInDefault:false,userOffline:false,
requiresConsent:false,scopeDesc:[{en-us:read any group default profile}]},
{scopeName:userProfile.group.write,includedInDefault:false,userOffline:false,
requiresConsent:false,scopeDesc:[{en-us:write any group default profile}]},
{scopeName:userProfile.me.read,includedInDefault:false,userOffline:false,
requiresConsent:true,scopeDesc:[{en-us:read my default profile}]},
{scopeName:userProfile.me.write,includedInDefault:false,userOffline:false,
requiresConsent:true,scopeDesc:[{en-us:write my default profile}]},
{scopeName:userProfile.me.password,includedInDefault:false,userOffline:false,
requiresConsent:true,scopeDesc:[{en-us:write my default password}]}]',
'namespace','userrole','defaultPlugin','900','true','604800','true','28800',
'true','/myuserprofile','false','[{accessControl:false},
{adminGroup:"cn=Administrators,ou=groups,ou=myrealm,dc=base_domain"},
{selfEdit:true}]','[{endpoint:"/me",enabled:true,
implClass:oracle.security.idaas.oauth.jaxrs.Me,entities:[{attributes:"",
relationship:[{name:people_groups,endpoint:memberOf,srcEntity:person-uri,
destEntity:group-uri,scopeNames:""},{name:people_manager,endpoint:manager,
srcEntity:report-uri,destEntity:manager-uri,scopeNames:""}]}],
binding:[{method:"GET",allow:true,scope:myscope,
addScope:[{name:userProfile.me.read,attr:"uid,mail,description,commonname,
firstname,lastname"},{name:userProfile.me.password,attr:password}]},
{method:"POST,PUT,DELETE",allow:true,scope:myscope,
addScope:[{name:userProfile.me.write,attr:"uid,mail,description,commonname,
firstname,lastname"},{name:userProfile.me.password,attr:password}]}],param:[]},
{endpoint:"/users",enabled:true,
implClass:oracle.security.idaas.oauth.jaxrs.Users,entities:[{attributes:"",
relationship:[{name:people_groups,endpoint:memberOf,srcEntity:person-uri,
destEntity:group-uri,scopeNames:""},{name:people_manager,endpoint:manager,
srcEntity:report-uri,destEntity:manager-uri,scopeNames:""}]}],
binding:[{method:"GET",allow:true,scope:myscope,
addScope:[{name:userProfile.users.read,attr:"uid,mail,description,commonname,
firstname,lastname"}]},{method:"POST,PUT,DELETE",allow:true,scope:myscope,
addScope:[{name:userProfile.users.write,attr:"uid,mail,description,commonname,
firstname,lastname"}]}],param:[]},{endpoint:"/groups",enabled:true,
implClass:oracle.security.idaas.oauth.jaxrs.Groups,
entities:[{attributes:"",relationship:[{name:groups_people,endpoint:memberOf,
srcEntity:group-uri,destEntity:person-uri,scopeNames:""}]}],
binding:[{method:"GET",allow:true,scope:myscope,
addScope:[{name:userProfile.group.read,attr:"name,description"}]},
{method:"POST,PUT,DELETE",allow:true,scope:myscope,
addScope:[{name:userProfile.group.write,attr: "name,description"}]}],
param:[]}]','[{param1:val1},{param2:val2}]','attr1,attr2')

removeOAuthMSMPlugin

removeOAuthMSMPlugin

説明

指定されたOAuth MSMプラグインを削除します。

構文

removeOAuthMSMPlugin(identityDomainName, name )

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthシステム・コンポーネントの名前。

removeOAuthMSMPlugin('myDomain','myComponent')

createOAuthMSMPlugin

createOAuthMSMPlugin

説明

指定されたOAuth MSMプラグインを作成します。

構文

createOAuthMSMPlugin(identityDomainName, name, description, implClass, paramList)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthプラグインの名前。
description OAuthプラグインの説明。
implClass OAuthプラグインの実装クラス。
paramList JSON形式で指定されたパラメータのリスト: [{name1:value1},{name2:value2}...]

createOAuthMSMPlugin('myDomain','sampleSecurityPlugin','sample msm plugin','oracle.security.idaas.rest.provider.plugin.impl.DebugMobileSecurityHandlerImpl','[{OAUTH_TEST:true},{EMU_DEVICE_REG:true},{EMU_HANDLE:false}]')

updateOAuthMSMPlugin

updateOAuthMSMPlugin

説明

指定されたOAuth MSMプラグインを更新します。

構文

updateOAuthMSMPlugin(identityDomainName, name, description, implClass, paramList)

引数 定義
identityDomainName OAuthアイデンティティ・ドメインの名前。
name OAuthプラグインの名前。
description OAuthプラグインの説明。
implClass OAuthプラグインの実装クラス。
paramList JSON形式で指定されたパラメータのリスト: [{name1:value1},{name2:value2}...]

updateOAuthMSMPlugin('myDomain','sampleSecurityPlugin','sample msm plugin','oracle.security.idaas.rest.provider.plugin.impl.DebugMobileSecurityHandlerImpl','[{OAUTH_TEST:true},{EMU_DEVICE_REG:true},{EMU_HANDLE:false}]')

updateOAuthMSMPluginParam

updateOAuthMSMPluginParam

説明

OAuth MSMプラグインを更新します。

構文

updateOAuthMSMPluginParam(domainName, name, parameter, newvalue)

引数 定義
domainName OAuthアイデンティティ・ドメインの名前。
name OAuthプラグインの名前。
parameter 更新するパラメータ: name | description | implClass | paramList | paramListAdd | paramListUpdate | paramListRemove
newvalue 指定されたパラメータの新しい値です。

updateOAuthMSMPluginParam('myDomain','defaultMSMPlugin','description','My new Description')

getOAuthIdentityDomains

getOAuthIdentityDomains

説明

すべての既存のOAuthアイデンティティ・ドメインを取得します。

構文

getOAuthIdentityDomains

getOAuthIdentityDomains

displayOAuthIdentityDomain

displayOAuthIdentityDomain

説明

指定されたOAuthアイデンティティ・ドメインを表示します。

構文

displayOAuthIdentityDomain(uuid)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。

displayOAuthIdentityDomain('12345678-1234-1234-1234-123456789012')

displayOAuthSystemConfig

displayOAuthSystemConfig

説明

指定されたOAuthシステム構成を表示します。

構文

displayOAuthSystemConfig(uuid)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。

displayOAuthSystemConfig('12345678-1234-1234-1234-123456789012')

getOAuthSysComponents

getOAuthSysComponents

説明

すべての既存のOAuthシステム・コンポーネントを取得します。

構文

getOAuthSysComponents(uuid)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。

getOAuthSysComponents('12345678-1234-1234-1234-123456789012')

displayOAuthSysComponent

displayOAuthSysComponent

説明

指定されたOAuthシステム・コンポーネントを表示します。

構文

displayOAuthSysComponent(uuid,name)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。
name 特定のシステム・コンポーネントの名前。

displayOAuthSysComponent('12345678-1234-1234-1234-123456789012','DefaultTokenLifeCycleService')

getOAuthServiceProviders

getOAuthServiceProviders

説明

すべての既存のOAuthサービス・プロバイダを取得します。

構文

getOAuthServiceProviders(uuid)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。

getOAuthServiceProviders('12345678-1234-1234-1234-123456789012')

displayOAuthServiceProvider

displayOAuthServiceProvider

説明

指定されたOAuthサービス・プロバイダを表示します。

構文

displayOAuthServiceProvider(uuid,name)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。
name 特定のサービス・プロバイダの名前。

displayOAuthServiceProvider('12345678-1234-1234-1234-123456789012','OAuthServiceProvider')

getOAuthClients

getOAuthClients

説明

すべての既存のOAuthクライアントを取得します。

構文

getOAuthClients(uuid)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。

getOAuthClients('12345678-1234-1234-1234-123456789012')

displayOAuthClient

displayOAuthClient

説明

指定されたOAuthクライアントを表示します。

構文

displayOAuthClient(uuid,name)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。
name 特定のクライアントの名前。

displayOAuthClient('12345678-1234-1234-1234-123456789012','sampleOAuthClient')

getOAuthAdaptiveAccessPlugins

getOAuthAdaptiveAccessPlugins

説明

すべての既存のOAuthアダプティブ・アクセス・プラグインを取得します。

構文

getOAuthAdaptiveAccessPlugins(uuid)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。

getOAuthAdaptiveAccessPlugins('12345678-1234-1234-1234-123456789012')

displayOAuthAdaptiveAccessPlugin

displayOAuthAdaptiveAccessPlugin

説明

指定されたOAuthアダプティブ・アクセス・プラグインを表示します。

構文

displayOAuthAdaptiveAccessPlugin(uuid,name)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。
name 特定のアダプティブ・アクセス・プラグインの名前。

displayOAuthAdaptiveAccessPlugin('12345678-1234-1234-1234-123456789012','sampleOAuthClient')

getOAuthAuthzPlugin

getOAuthAuthzPlugin

説明

すべての既存のOAuth認可プラグインを取得します。

構文

getOAuthAuthzPlugin(uuid)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。

getOAuthAuthzPlugin('12345678-1234-1234-1234-123456789012')

displayOAuthAuthzPlugin

displayOAuthAuthzPlugin

説明

指定されたOAuth認可プラグインを表示します。

構文

displayOAuthAuthzPlugin(uuid,name)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。
name 特定の認可プラグインの名前。

displayOAuthAuthzPlugin('12345678-1234-1234-1234-123456789012','sampleOAuthClient')

getOAuthTokenAttributesPlugins

getOAuthTokenAttributesPlugins

説明

すべての既存のOAuthトークン属性プラグインを取得します。

構文

getOAuthTokenAttributesPlugins(uuid)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。

getOAuthTokenAttributesPlugins('12345678-1234-1234-1234-123456789012')

displayOAuthTokenAttributesPlugin

displayOAuthTokenAttributesPlugin

説明

指定されたOAuthトークン属性プラグインを表示します。

構文

displayOAuthTokenAttributesPlugin(uuid,name)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。
name 特定のトークン属性プラグインの名前。

displayOAuthTokenAttributesPlugin('12345678-1234-1234-1234-123456789012','sampleOAuthClient')

getOAuthResourceServerInterfaces

getOAuthResourceServerInterfaces

説明

すべての既存のOAuthリソース・サーバー・インタフェースを取得します。

構文

getOAuthResourceServerInterfaces(uuid)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。

getOAuthResourceServerInterfaces('12345678-1234-1234-1234-123456789012')

displayOAuthResourceServerInterface

displayOAuthResourceServerInterface

説明

指定されたOAuthリソース・サーバー・インタフェースを表示します。

構文

displayOAuthResourceServerInterface(uuid,name)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。
name 特定のリソース・サーバー・インタフェースの名前。

displayOAuthResourceServerInterface('12345678-1234-1234-1234-123456789012','sampleOAuthClient')

getOAuthUserProfileResourceServers

getOAuthUserProfileResourceServers

説明

すべての既存のOAuthユーザー・プロファイル・リソース・サーバー・プラグインを取得します。

構文

getOAuthUserProfileResourceServers(uuid)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。

getOAuthUserProfileResourceServers('12345678-1234-1234-1234-123456789012')

displayOAuthUserProfileResourceServer

displayOAuthUserProfileResourceServer

説明

指定されたOAuthユーザー・プロファイル・リソース・サーバー・プラグインを表示します。

構文

displayOAuthUserProfileResourceServer(uuid,name)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。
name 特定のユーザー・プロファイル・リソース・サーバー・プラグインの名前。

displayOAuthUserProfileResourceServer('12345678-1234-1234-1234-123456789012','UserProfile')

getOAuthServiceProfiles

getOAuthServiceProfiles

説明

すべての既存のOAuthサービス・プロファイルを取得します。

構文

getOAuthServiceProfiles(uuid)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。

getOAuthServiceProfiles('12345678-1234-1234-1234-123456789012')

displayOAuthServiceProfile

displayOAuthServiceProfile

説明

指定されたOAuthサービス・プロファイルを表示します。

構文

displayOAuthServiceProfile(uuid,name)

引数 定義
uuid アイデンティティ・ドメインの全体の一意識別子。
name 特定のサービス・プロファイルの名前。

displayOAuthServiceProfile('12345678-1234-1234-1234-123456789012','OAuthServiceProfile')