| Oracle® Fusion Middleware Identity and Access ManagementのためのWebLogic Scripting Toolコマンド・リファレンス 11gリリース2 (11.1.2.3.0) E67358-03 |
|
![]() 前 |
![]() 次 |
この章では、Oracle Access Management Mobile and SocialのカスタムWebLogic Scripting Tool (WLST)コマンドについて、コマンド構文、引数および例を含めて説明します。
次の項では、Mobile and SocialのWLSTコマンドと、コマンド・リファレンスの詳細へのリンクを示します。
表6-1に示されているWLSTコマンドを使用して、Oracle Access Management Mobile and Social (Mobile and Social)構成オブジェクトを管理します。
表6-1 モバイル・サービスとソーシャル・アイデンティティのWLSTモバイルおよびソーシャル・コマンド
| 使用するコマンド | 目的 | WLSTでの使用 |
|---|---|---|
|
システム構成コマンド |
||
|
|
システム構成データを取得します。 |
オンライン |
|
|
システム構成データを更新します。 |
オンライン |
|
RPApplicationコマンド |
||
|
|
RPApplicationオブジェクトを取得します。 |
オンライン |
|
|
指定されたRPApplicationオブジェクトを削除します。 |
オンライン |
|
|
指定されたRPApplicationオブジェクトを表示します。 |
オンライン |
|
|
新しいRPApplicationオブジェクトを作成します。 |
オンライン |
|
|
定義済のRPApplicationオブジェクトの値を更新します。 |
オンライン |
|
ServiceProviderInterfaceコマンド |
||
|
|
RPApplicationオブジェクトを取得します。 |
オンライン |
|
removeServiceProviderInterface |
指定されたRPApplicationオブジェクトを削除します。 |
オンライン |
|
displayServiceProviderInterface |
指定されたRPApplicationオブジェクトを表示します。 |
オンライン |
|
createServiceProviderInterface |
新しいRPApplicationオブジェクトを作成します。 |
オンライン |
|
updateServiceProviderInterface |
定義済のRPApplicationオブジェクトの値を更新します。 |
オンライン |
|
ソーシャル・アイデンティティ・プロバイダ・コマンド |
||
|
|
ソーシャル・アイデンティティ・プロバイダ・オブジェクトを取得します。 |
オンライン |
|
removeInternetIdentityProvider |
指定されたソーシャル・アイデンティティ・プロバイダ・オブジェクトを削除します。 |
オンライン |
|
displayInternetIdentityProvider |
指定されたソーシャル・アイデンティティ・プロバイダ・オブジェクトを表示します。 |
オンライン |
|
createInternetIdentityProvider |
新しいソーシャル・アイデンティティ・プロバイダ・オブジェクトを作成します。 |
オンライン |
|
updateInternetIdentityProvider |
定義済のソーシャル・アイデンティティ・プロバイダ・オブジェクトの値を更新します。 |
オンライン |
|
ユーザー属性マッピング・コマンド |
||
|
|
ユーザー属性マッピング・オブジェクトを取得します。 |
オンライン |
|
|
指定されたユーザー属性マッピング・オブジェクトを削除します。 |
オンライン |
|
|
指定されたユーザー属性マッピング・オブジェクトを表示します。 |
オンライン |
|
|
定義済のユーザー属性マッピング・オブジェクトの値を更新します。 |
オンライン |
|
ServiceProviderコマンド |
||
|
|
ServiceProviderを作成します。 |
オンライン |
|
|
ServiceProviderを更新します |
オンライン |
|
addRelationshipToServiceProvider |
サービス・プロバイダに関係を追加します。 |
オンライン |
|
removeRelationshipFromServiceProvider |
サービス・プロバイダから関係を削除します。 |
オンライン |
|
|
ServiceProviderを取得します。 |
オンライン |
|
|
ServiceProviderオブジェクトを削除します。 |
オンライン |
|
|
ServiceProviderオブジェクトを表示します。 |
オンライン |
|
ServiceProfileコマンド |
||
|
|
サービス・オブジェクトを作成します。 |
オンライン |
|
|
サービス・オブジェクトを更新します。 |
オンライン |
|
|
サービス・オブジェクトを削除します。 |
オンライン |
|
|
サービス・オブジェクトを表示します。 |
オンライン |
|
|
すべてのサービス・オブジェクトを取得します。 |
オンライン |
|
ApplicationProfileコマンド |
||
|
|
すべてのApplicationProfileオブジェクトを一覧表示します。 |
オンライン |
|
|
ApplicationProfileを作成します。 |
オンライン |
|
|
ApplicationProfileを更新します。 |
オンライン |
|
|
ApplicationProfileを削除します。 |
オンライン |
|
|
ApplicationProfileを表示します。 |
オンライン |
|
ServiceDomainコマンド |
||
|
|
ServiceDomainを作成します。 |
オンライン |
|
|
ServiceDomainを更新します。 |
オンライン |
|
|
ServiceDomainを取得します。 |
オンライン |
|
|
ServiceDomainを削除します。 |
オンライン |
|
|
ServiceDomainを表示します。 |
オンライン |
|
SecurityHandlerコマンド |
||
|
|
SecurityHandlerPluginを作成します。 |
オンライン |
|
|
SecurityHandlerPluginを更新します。 |
オンライン |
|
|
SecurityHandlerPluginを取得します。 |
オンライン |
|
|
SecurityHandlerPluginを削除します。 |
オンライン |
|
|
SecurityHandlerPluginを表示します。 |
オンライン |
|
JailBreakingDetectionPolicyコマンド |
||
|
createJailBreakingDetectionPolicy |
JailBreakingDetectionPolicyを作成します。 |
オンライン |
|
updateJailBreakingDetectionPolicy |
JailBreakingDetectionPolicyを更新します。 |
オンライン |
|
getJailBreakingDetectionPolicys |
JailBreakingDetectionPolicyを取得します。 |
オンライン |
|
removeJailBreakingDetectionPolicy |
JailBreakingDetectionPolicyを削除します。 |
オンライン |
|
displayJailBreakingDetectionPolicy |
JailBreakingDetectionPolicyを表示します。 |
オンライン |
getRPSystemConfig
replaceRPSystemConfig
構文
replaceRPSystemConfig(hostURL, proxyProtocol, proxyHost, proxyPort, proxyUsername, proxyPassword, attributeList)
| 引数 | 定義 |
|---|---|
hostURL |
Mobile and SocialサーバーをホストするマシンのURL。 |
proxyProtocol |
プロキシ・プロトコル(HTTP/HTTPS)。 |
proxyHost |
プロキシ・マシンのURL。 |
proxyPort |
プロキシ・マシンのポート。 |
proxyUsername |
プロキシにアクセスするユーザーの名前。 |
proxyPassword |
プロキシにアクセスするユーザーのパスワード。 |
attributeList |
JSON形式の属性のリスト。
[{idp:[{name:value},{name:value}],idp2:[{name:value},{name:value}]}]
|
getRPApplications
removeRPApplication
displayRPApplication
createRPApplication
構文
createRPApplication(identityProviderNameList, sharedSecret, returnUrl, SPIBindingName, applicationAttributesList, userAttributeMappings, attributeList, mobileApplicationReturnUrl, name, description)
| 引数 | 定義 |
|---|---|
identityProviderNameList |
アイデンティティ・プロバイダのリスト |
sharedSecret |
共有シークレット。 |
returnUrl |
戻りURL。 |
SPIBindingName |
SPIバインディング名。 |
applicationAttributesList |
JSON形式で指定されるRPApplication属性のリスト。
[{name1:value1},{name2:value2}]
|
userAttributeMappings |
JSON形式で指定されたユーザー属性マッピングのリスト。
[{idp:[{name:value},{name:value}],idp2:[{name:value},{name:value}]}]
|
attributeList |
JSON形式で指定されるプロトコル属性のリスト。
[{name1:value1},{name2:value2}]
|
mobileApplicationReturnUrl |
モバイル・アプリケーションの戻りURL。 |
name |
作成するオブジェクトの名前。 |
description |
作成するオブジェクトの説明。 |
例
createRPApplication('Yahoo,Facebook','mySecret','http://me.com',
'OAMServiceProviderInterface','[{pratname1:atval1},{pratname2:atval2}]',
'[{Yahoo:[{uid:email},{mail:email},{zip:postalCode},{country:country}]},
{Facebook:[{uid:email},{mail:email},{zip:postalCode},{country:country}]}]',
'[{atname1:atval2},{atname2:atval2}]','/oam/server','myApp','new Application')
updateRPApplication
構文
updateRPApplication(identityProviderNameList, sharedSecret, returnUrl, SPIBindingName, applicationAttributesList, userAttributeMappings, attributeList, mobileApplicationReturnUrl, name, description)
| 引数 | 定義 |
|---|---|
identityProviderNameList |
アイデンティティ・プロバイダのリスト |
sharedSecret |
共有シークレット。 |
returnUrl |
戻りURL。 |
SPIBindingName |
SPIバインディング名。 |
applicationAttributesList |
JSON形式で指定されるRPApplication属性のリスト。
[{name1:value1},{name2:value2}]
|
userAttributeMappings |
JSON形式で指定されたユーザー属性マッピングのリスト。
[{idp:[{name:value},{name:value}],idp2:[{name:value},{name:value}]}]
|
attributeList |
JSON形式で指定されるプロトコル属性のリスト。
[{name1:value1},{name2:value2}]
|
mobileApplicationReturnUrl |
モバイル・アプリケーションの戻りURL。 |
name |
作成するオブジェクトの名前。 |
description |
作成するオブジェクトの説明。 |
getServiceProviderInterfaces
removeServiceProviderInterface
displayServiceProviderInterface
createServiceProviderInterface
構文
createServiceProviderInterface(idpSelectorImpl, postIDPSelectorImpl, idpInteractionProviderImpl, registrationStatusCheckImpl, registrationTaskFlowProviderImpl, sessionCreationProviderImpl, attributeList, name, description)
| 引数 | 定義 |
|---|---|
idpSelectorImpl |
|
postIDPSelectorImpl |
|
idpInteractionProviderImpl |
|
registrationStatusCheckImpl |
|
registrationTaskFlowProviderImpl |
|
sessionCreationProviderImpl |
|
attributeList |
JSON形式の属性のリスト。
[{idp:[{name:value},{name:value}],idp2:[{name:value},{name:value}]}]
|
name |
作成するオブジェクトの名前。 |
description |
作成するオブジェクトの説明。 |
updateServiceProviderInterface
構文
updateServiceProviderInterface(idpSelectorImpl, postIDPSelectorImpl, idpInteractionProviderImpl, registrationStatusCheckImpl, registrationTaskFlowProviderImpl, sessionCreationProviderImpl, attributeList, name, description)
| 引数 | 定義 |
|---|---|
idpSelectorImpl |
|
postIDPSelectorImpl |
|
idpInteractionProviderImpl |
|
registrationStatusCheckImpl |
|
registrationTaskFlowProviderImpl |
|
sessionCreationProviderImpl |
|
attributeList |
JSON形式の属性のリスト。
[{idp:[{name:value},{name:value}],idp2:[{name:value},{name:value}]}]
|
name |
作成するオブジェクトの名前。 |
description |
作成するオブジェクトの説明。 |
getInternetIdentityProviders
removeInternetIdentityProvider
displayInternetIdentityProvider
createInternetIdentityProvider
構文
createInternetIdentityProvider(icon, protocolType, protocolAttributeList, providerImplClass, attributeList, name, description)
| 引数 | 定義 |
|---|---|
icon |
アイコンの名前。 |
protocolType |
プロトコルのタイプはOpenID、OAuthまたはCustomのいずれかになります。 |
protocolAttributeList |
JSON形式で指定されるプロトコル属性のリスト。
[{name1:value1},{name2:value2}]
|
providerImplClass |
プロバイダの実装クラス。 |
attributeList |
JSON形式で指定されるプロトコル属性のリスト。
[{name1:value1},{name2:value2}]
|
name |
作成するプロバイダの名前。 |
description |
作成するプロバイダの説明。 |
例
createInternetIdentityProvider('myIcon','myType','[{pratname1:atval1},
{pratname2:atval2}]','[{atname1:atval1},{atname2:atval2}]','class','myProvider',
'new Identity Provider')
|
注意: createInternetIdentityProviderをスクリプトの中で使用してFoursquareおよびWindows Liveのプロバイダ構成を作成することもできます。次は、Foursquare用のスクリプトの例です。スクリプトを実行する前に、WebLogic Serverに接続するために使用するusernameとpassword、そしてコンシューマのキーとシークレット値(引用符で囲む)を更新してください:
url = 't3://localhost:7001'
username='xxxxxx'
password='xxxxxx'
connect(username,password,url)
domainRuntime()
print "Foursquare OAuth"
print "---------------------"
createInternetIdentityProvider(
'Foursquare.gif',
'OAuth',
'[{oauth.authorization.url:
"https://foursquare.com/oauth2/authorize"},
{oauth.accesstoken.url:
"https://foursquare.com/oauth2/access_token"},
{oauth.profile.url: "https://api.foursquare.com/v2/users/self"},
{oauth.consumer.key:""}, {oauth.consumer.secret:""},
{oauth.rpinstance.name:""}, {oauth.rpinstance.url:""}]',
'[{id:id}, {firstname:firstname}, {lastname:lastname},
{contact.email:contact.email}, {homecity:homecity},
{gender:gender}, {photo:photo}]',
'oracle.security.idaas.rp.oauth.provider.FoursquareImpl',
'Foursquare', 'Foursquare OAuth Provider')
disconnect()
exit()
|
updateInternetIdentityProvider
構文
updateInternetIdentityProvider(icon, protocolType, protocolAttributeList, attributeList, providerImplClass, name, description)
| 引数 | 定義 |
|---|---|
icon |
アイコンの名前。 |
protocolType |
プロトコルのタイプはOpenID、OAuthまたはCustomのいずれかになります。 |
protocolAttributeList |
JSON形式で指定されるプロトコル属性のリスト。
[{name1:value1},{name2:value2}]
|
providerImplClass |
プロバイダの実装クラス。 |
attributeList |
JSON形式で指定されるプロトコル属性のリスト。
[{name1:value1},{name2:value2}]
|
name |
更新するプロバイダの名前。 |
description |
更新するプロバイダの説明。 |
getUserAttributeMappings
removeUserAttributeMapping
displayUserAttributeMapping
updateUserAttributeMapping
createServiceProvider
構文
createServiceProvider(serviceProviderImpl, serviceProviderType, relationshipList, paramList, name, description)
| 引数 | 定義 |
|---|---|
serviceProviderImpl |
サービス・プロバイダの実装。 |
serviceProviderType |
サービス・プロバイダのタイプ。許容可能な値は、Authorization、AuthenticationまたはUserProfileのいずれかです。 |
relationshipList |
JSON形式で指定されたこのサービス・プロバイダの関係: [{relationship:relname,description:descrip,directional1:{name:dirname,description:descrip,providerRelation:relname,entityURIAttrName:uri,scopeAllLevelAttrName:toTop},directional2:{name:dirname,description:descrip,providerRelation:relname,entityURIAttrName:uri,scopeAllLevelAttrName:toTop}}] |
paramList |
JSON形式で指定されたこのサービス・プロバイダのパラメータ: [{name1:value1},{name2:value2}...] |
name |
サービス・プロバイダの名前。 |
description |
サービス・プロバイダの説明。 |
例
createServiceProvider('oracle.security.idaas.rest.provider.token.MobileOAMTokenSer
viceProvider', 'Authentication', '[]','[{OAM_VERSION:OAM_11G},{WEBGATE_
ID:accessgate-oic},{ENCRYPTED_PASSWORD:"password"},{DEBUG_VALUE:0},{TRANSPORT_
SECURITY:OPEN},{OAM_SERVER_1:"localhost:5575"},{OAM_SERVER_1_MAX_CONN:4},{OAM_
SERVER_2:"oam_server_2:5575"},{OAM_SERVER_2_MAX_CONN:4}]',
'MobileOAMAuthentication', 'Out Of The Box Mobile Oracle Access Manager (OAM)
Authentication Service Provider')
updateServiceProvider
構文
updateServiceProvider(serviceProviderImpl, serviceProviderType, relationshipList, paramList, name, description)
| 引数 | 定義 |
|---|---|
serviceProviderImpl |
サービス・プロバイダの実装 |
serviceProviderType |
サービス・プロバイダのタイプ - Authorization、Authentication、UserProfileのいずれか。 |
relationshipList |
JSON形式で指定されたこのサービス・プロバイダの関係。
[{relationship:relname,description:descrip,
directional1:{name:dirname,description:descrip,provider
Relation:relname,entityURIAttrName:uri,scopeAllLevelAtt
rName:toTop},directional2:{name:dirname,description:des
crip,providerRelation:relname,entityURIAttrName:uri,sco
peAllLevelAttrName:toTop}}]
|
paramList |
JSON形式で指定されたこのサービス・プロバイダのパラメータ。
|
name |
サービス・プロバイダの名前。 |
description |
サービス・プロバイダの説明。 |
例
updateServiceProvider('oracle.security.idaas.rest.provider.cruds.ids.
IDSCRUDSServiceProvider', 'UserProfile', '[{relationship:people_groups,
directional1:{name:memberOf, providerRelation:user_memberOfGroup,
entityURIAttrName:person-uri}, directional2:{name:members,
providerRelation:groupMember_user,entityURIAttrName:group-uri }},
{relationship:people_manager, directional1:{name:manager,providerRelation:manager,
entityURIAttrName:report-uri,scopeAllLevelAttrName:toTop},
directional2:{name:reports , providerRelation:reportee,
qntityURIAttrName:manager-uri, scopeAllLevelAttrName:all}},
{relationship:groupMemberOf_groupMembers , directional1:{name:groupMemberOf,
providerRelation:group_memberOfGroup,entityURIAttrName:member-uri},
directional2:{name:groupMembers, providerRelation:groupMember
_group,entityURIAttrName:group-uri }},{relationship:personOwner_ownerOf,
directional1:{name:ownerOf, providerRelation:user_
ownerOfGroup,entityURIAttrName:owner-uri},
directional2:{name:personOwner,providerRelation:groupOwner_
user,entityURIAttrName:group-uri}},{relationship:groupOwner_groupOwnerOf,
directional1:{name:groupOwner, providerRelation:group_
ownerOfGroup,entityURIAttrName:group-uri}, directional2:{name:groupOwnerOf,
providerRelation:groupOwner_group,entityURIAttrName:owner-uri
}}]','[{oracle.ids.name:userrole},{accessControl:false}]', 'UserProfile', 'Out Of
The Box User Profile Service Provider')
addRelationshipToServiceProvider
構文
addRelationshipToServiceProvider(name, relationshipList)
| 引数 | 定義 |
|---|---|
name |
サービス・プロバイダの名前。 |
relationshipList |
JSON形式で指定されたこのサービス・プロバイダの関係。
[{relationship:relname,description:descrip,directional1:
{name:dirname,description:descrip,providerRelation:relname,
entityURIAttrName:uri,scopeAllLevelAttrName:toTop},
directional2:{name:dirname,description:descrip,
providerRelation:relname,entityURIAttrName:uri,
scopeAllLevelAttrName:toTop}}]
|
例
addRelationshipToServiceProvider('idsprovider1','[{relationship:relname,
description:descrip, directional1:{name:dirname,description:descrip,
providerRelation:relname,entityURIAttrName:uri,scopeAllLevelAttrName:toTop},
directional2:{name:dirname,description:descrip,
providerRelation:relname,entityURIAttrName:uri,scopeAllLevelAttrName:toTop}}]
removeRelationshipFromServiceProvider
getServiceProviders
例
getServiceProviders()
次に、サンプル出力を示します。
ServiceProvider: UserProfile1 ServiceProvider: JWTAuthentication ServiceProvider: UserProfile ServiceProvider: MobileOAMAuthentication ServiceProvider: OAMAuthentication ServiceProvider: MobileJWTAuthentication ServiceProvider: sampleauthzserviceprovider ServiceProvider: InternetIdentityAuthentication ServiceProvider: OAMAuthorization
removeServiceProvider
displayServiceProvider
例
displayServiceProvider('OAMAuthentication')
次に、サンプル出力を示します。
Displaying: ServiceProvider : OAMAuthentication ReadOnly = 0 Description = Out Of The Box Oracle Access Manager (OAM) Authentication Token Service Provider Param = ... eventProvider = 1 objectName = com.oracle.idaas:name=OAMAuthentication,type=Xml.ServiceProvider,Xml=MobileService SystemMBean = 0 ServiceProviderType = Authentication Name = OAMAuthentication ConfigMBean = 1 ServiceProviderImpl = oracle.security.idaas.rest.provider.token.OAMSDKTokenServiceProvider Relationship = array(javax.management.openmbean.CompositeData,[]) eventTypes = array(java.lang.String,['jmx.attribute.change']) RestartNeeded = 0
createServiceProfile
構文
createServiceProfile(serviceProvider, supportedTokenList, paramList, endPoint, name, description, enabled)
| 引数 | 定義 |
|---|---|
serviceProvider |
サービス・プロバイダの名前。 |
supportedTokenList |
JSON形式で指定されたサポート対象トークンのリスト。
ここで、 |
paramList |
JSON形式で指定されたこのサービスのパラメータのリスト。
|
endPoint |
サービス・エンドポイント。 |
name |
サービスの名前。 |
description |
サービスの説明。 |
enabled |
サービスを有効にするか、無効にするかを示します。ブール・フラグ。 |
updateServiceProfile
構文
updateServiceProfile(serviceProvider, supportedTokenList, paramList, endPoint, name, description, enabled)
| 引数 | 定義 |
|---|---|
serviceProvider |
サービス・プロバイダの名前。 |
supportedTokenList |
JSON形式で指定されたサポート対象トークンのリスト。
ここで、 |
paramList |
JSON形式で指定されたこのサービスのパラメータのリスト。
|
endPoint |
サービス・エンドポイント。 |
name |
サービスの名前。 |
description |
サービスの説明。 |
enabled |
サービスを有効にするか、無効にするかを示します。ブール・フラグ。 |
removeServiceProfile
displayServiceProfile
例
displayServiceProfile('OAMAuthorization')
次に、サンプル出力を示します。
Displaying: ServiceProfile : OAMAuthorization ReadOnly = 0 Enabled = 1 Description = Out Of The Box Oracle Access Manager (OAM) Authorization Service Provider Param = array(javax.management.openmbean.CompositeData,[]) eventProvider = 1 SystemMBean = 0 objectName = com.oracle.idaas:name=OAMAuthorization,type=Xml.ServiceProfile,Xml=MobileService SupportedToken = array(java.lang.String,[]) ServiceProviderType = Authorization ServiceProviderName = OAMAuthorization Name = OAMAuthorization ConfigMBean = 1 ServiceEndPoint = /oamauthorization eventTypes = array(java.lang.String,['jmx.attribute.change']) RestartNeeded = 0
getServiceProfiles
例
getServiceProfiles()
次に、サンプル出力を示します。
ServiceProfile: UserProfile1 ServiceProfile: OAMAuthenticatio ServiceProfile: sampleauthzservice ServiceProfile: JWTAuthentication ServiceProfile: UserProfile ServiceProfile: MobileOAMAuthentication ServiceProfile: OAMAuthentication ServiceProfile: MobileJWTAuthentication ServiceProfile: InternetIdentityAuthentication ServiceProfile: OAMAuthorization ServiceProfile: JWTAuthentication1
getApplicationProfiles
createApplicationProfile
構文
createApplicationProfile(paramList, mobileAppProfileStr, name, description)
| 引数 | 定義 |
|---|---|
paramList |
JSON形式で指定されたこのサービスのパラメータのリスト。
|
mobileAppProfileStr |
JSON形式で指定されたモバイル・アプリケーション・プロファイル文字列。
[{clientAppConfigParam:[{name:value},{name:value}],
jailBreakingDetectionPolicyName:name}]
|
name |
IDaaSクライアントの名前。 |
description |
IDaaSクライアントの説明。 |
例
createApplicationProfile('[{Mobile.clientRegHandle.baseSecret:welcome1},]',
'[{clientAppConfigParam:[{Mobileparam1:Mobileparam1Value},
{IOSURLScheme:"samplemobileapp1://"},
{AndroidPackage:oracle.android.samplemobileapp1},
{AndroidAppSignature:samplemobileapp1signature}],
jailBreakingDetectionPolicyName:defaultJailBreakingDetectionPolicy}]',
'samplemobileapp1','Sample Mobile App 1')
createApplicationProfile('[{userId4BasicAuth:rest_client1},
{sharedSecret4BasicAuth:"9Qo9olLIl5gDwESYR0hOgw=="},
{signatureAlgorithm:SHA-1}]','','profileid1','OIC Application Profile 1')
updateApplicationProfile
構文
updateApplicationProfile(paramList, mobileAppProfileStr, name, description)
| 引数 | 定義 |
|---|---|
paramList |
JSON形式で指定されたこのサービスのパラメータのリスト。
|
mobileAppProfileStr |
JSON形式で指定されたモバイル・アプリケーション・プロファイル文字列。
[{clientAppConfigParam:[{name:value},{name:value}],
jailBreakingDetectionPolicyName:name}]
clientAppConfigParamの値は、管理コンソールの「アプリケーション・プロファイル構成」ページで定義されているものと一致している必要があります。「構成設定」という見出しの下に指定されている項目は、WLST 'clientAppConfigParam'で設定されます。 |
name |
IDaaS (Identity as a Service)クライアントの名前。 |
description |
IDaaS (Identity as a Service)クライアントの説明。 |
例
updateApplicationProfile('[{Mobile.clientRegHandle.baseSecret:welcome1}]','
[{clientAppConfigParam:[{ProfileCacheDuration:60},
{AuthenticationRetryCount:3},{AllowOfflineAuthentication:false},
{ClaimAttributes:"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"},
{RPWebView:Embedded},{URLScheme:"exp://"},
{IOSBundleID:com.oraclecorp.internal.ExpenseReportApp},
{AndroidAppSignature:"xmlns:xsi=\
'http://www.w3.org/2001/XMLSchema-instance\'
xsi:nil=\'true\'"},{AndroidPackage:"xmlns:xsi=\'
http://www.w3.org/2001/XMLSchema-instance\' xsi:nil=\'true\'"}],
jailBreakingDetectionPolicyName:DefaultJailBreakingDetectionPolicy}]',
'ExpenseApp','OIC Test Expense Sample App')
removeApplicationProfile
displayApplicationProfile
例
displayApplicationProfile('MobileAgent1')
次に、サンプル出力を示します。
Displaying: ApplicationProfile : MobileAgent1
ReadOnly = 0
ConfigMBean = 1
Name = MobileAgent1
MobileAppProfile = None
Description = Mobile Agent App 1
Param =
array(javax.management.openmbean.CompositeData,[javax.management.openmbean.Composi
teDataSupport(compositeType=javax.management.openmbean.CompositeType(name=com.orac
le.xmlns.idm.idaas.idaas_config_11_1_2_0_0.Attribute,items=((itemName=name,
itemType=javax.management.openmbean.SimpleType(name=java.lang.String)),
(itemName=secretValue,itemType=javax.management.openmbean.ArrayType(name=[Ljava.
lang.Character;,dimension=1,elementType=javax.management.openmbean.SimpleType(name
=java.lang.Character),primitiveArray=false)),(itemName=value,itemType=javax.manage
ment.openmbean.SimpleType(name=java.lang.String)))),contents={name=Mobile.reauthnF
orRegNewClientApp, secretValue=null, value=true}),
javax.management.openmbean.CompositeDataSupport(compositeType=javax.management.ope
nmbean.CompositeType(name=com.oracle.xmlns.idm.idaas.idaas_config_11_1_2_0_0.
Attribute,items=((itemName=name,itemType=javax.management.openmbean.SimpleType(nam
e=java.lang.String)),(itemName=secretValue,itemType=javax.management.openmbean.Arr
ayType(name=[Ljava.lang.Character;,dimension=1,elementType=javax.management.openmb
ean.SimpleType(name=java.lang.Character),primitiveArray=false)),(itemName=value,it
emType=javax.management.openmbean.SimpleType(name=java.lang.String)))),contents={n
ame=Mobile.clientRegHandle.baseSecret, secretValue=[Ljava.lang.Character;@11910bd,
value=idaas.ApplicationProfile[MobileAgent1].param[Mobile.clientRegHandle.baseSecr
et]})])
eventProvider = 1
SystemMBean = 0
objectName =
com.oracle.idaas:name=MobileAgent1,type=Xml.ApplicationProfile,Xml=MobileService
eventTypes = array(java.lang.String,['jmx.attribute.change'])
RestartNeeded = 0
createServiceDomain
構文
createServiceDomain(securityHandlerPlugin,serviceBindingList, clientAppBindingList,mobileAuthStyle,serviceDomainType,name,description)
| 引数 | 定義 |
|---|---|
securityHandlerPlugin |
securityHandlerPluginの名前。 |
serviceBindingList |
ServiceBindingオブジェクトのリスト。形式は次のとおりです:
[{serviceName:UserProfile,allowRead:true,
allowWrite:true},{serviceName:UserProfile1,
allowRead:true,allowWrite:true,
requiredToken:[{tokenService:JWTAuthentication,
tokenType:{ACCESSTOKEN}}]},
{serviceName:usertokenserviceformobile,
requiredToken:[{tokenService:mobilesecurityservice1,
tokenType:{ACCESSTOKEN,CLIENTTOKEN}}]},
{serviceName:mobilesecurityservice1},
{serviceName:JWTAuthentication1},
{serviceName:OAMAuthorization}]
|
clientAppBindingList |
次の形式で指定されたクライアント・アプリケーションのリスト。
[{appName:UserProfile,mobileBinding:
[{SSOinclusion:true,SSOpriority:4}]
|
mobileAuthStyle |
モバイル認証スタイル。 |
serviceDomainType |
サービス・ドメインのタイプ。 |
name |
ServiceDomainの名前。 |
description |
ServiceDomainの説明。 |
例
createServiceDomain('JunitDebugSecurityHandlerPlugin','[{serviceName:UserProfile,
allowRead:true,allowWrite:true},{serviceName:UserProfile1,allowRead:true,
allowWrite:true,requiredToken:[{tokenService:JWTAuthentication1,
tokenType:ACCESSTOKEN}]},{serviceName:JWTAuthentication},
{serviceName:OAMAuthentication},{serviceName:JWTAuthentication1},
{serviceName:OAMAuthorization,
allowRead:true,allowWrite:false,requiredToken:[{tokenService:OAMAuthentication,
tokenType:USERTOKEN}]}]','[{appName:MobileAgent1,mobileBinding:
[{SSOinclusion:true,SSOpriority:1}]},{appName:MobileBusinessTestApp01,
mobileBinding:[{SSOinclusion:true}]},{appName:MobileAgent2,mobileBinding:
[{SSOinclusion:true,SSOpriority:2}]},{appName:MobileExpenseReport1,
mobileBinding:[{SSOinclusion:false}]},{appName:profileid1}]','','DESKTOP',
'Default','DefaultService Domain ServiceBinding without any requiredToken')
updateServiceDomain
構文
updateServiceDomain(securityHandlerPlugin, serviceBindingList, clientAppBindingList, mobileAuthStyle, serviceDomainType, name, description)
| 引数 | 定義 |
|---|---|
securityHandlerPlugin |
SecurityHandlerPluginの名前。
|
serviceBindingList |
ServiceBindingオブジェクトのリスト。形式は次のとおりです:
[{serviceName:UserProfile,allowRead:true,
allowWrite:true},{serviceName:UserProfile1,
allowRead:true,allowWrite:true,
requiredToken:[{tokenService:JWTAuthentication,
tokenType:{ACCESSTOKEN}}]},
{serviceName:usertokenserviceformobile,
requiredToken:[{tokenService:mobilesecurityservice1,
tokenType:{ACCESSTOKEN,CLIENTTOKEN}}]},
{serviceName:mobilesecurityservice1},
{serviceName:JWTAuthentication1},
{serviceName:OAMAuthorization}]
|
clientAppBindingList |
次の形式で指定されたクライアント・アプリケーションのリスト。
[{appName:UserProfile,mobileBinding:
[{SSOinclusion:true,SSOpriority:4}]
|
mobileAuthStyle |
モバイル認証スタイル。 |
serviceDomainType |
サービス・ドメインのタイプ。 |
name |
ServiceDomainの名前。 |
description |
ServiceDomainの説明。 |
例
updateServiceDomain('JunitDebugSecurityHandlerPlugin','[{serviceName:UserProfile,
allowRead:true,allowWrite:true},{serviceName:UserProfile1,allowRead:true,
allowWrite:true,requiredToken:[{tokenService:JWTAuthentication1,
tokenType:ACCESSTOKEN}]},{serviceName:JWTAuthentication},
{serviceName:OAMAuthentication},{serviceName:JWTAuthentication1},
{serviceName:OAMAuthorization,allowRead:true,allowWrite:false,
requiredToken:[{tokenService:OAMAuthentication,tokenType:USERTOKEN}]}]',
'[{appName:MobileAgent1,mobileBinding:[{SSOinclusion:true,SSOpriority:1}]},
{appName:MobileBusinessTestApp01,mobileBinding:[{SSOinclusion:true}]},
{appName:MobileAgent2,mobileBinding:[{SSOinclusion:true,SSOpriority:2}]},
{appName:MobileExpenseReport1,mobileBinding:[{SSOinclusion:false}]},
{appName:profileid1}]','','DESKTOP','Default',
'Default Service Domain ServiceBinding without any requiredToken')
getServiceDomains
例
getServiceDomain()
次に、サンプル出力を示します。
ServiceDomain: MobileServiceDomainUTReg ServiceDomain: MobileRPServiceDomain ServiceDomain: Contract1 ServiceDomain: MobileJWTServiceDomain ServiceDomain: MobileRPServiceDomainUTReg ServiceDomain: MobileContract ServiceDomain: Default ServiceDomain: MobileServiceDomain
removeServiceDomain
displayServiceDomain
例
displayServiceDomain('name')
次に、サンプル出力を示します。
Displaying: ServiceDomain : Contract1
ReadOnly = 0
Description = Service Domain 1 using HTTPBasic or Token based Client Token
eventProvider = 1
SystemMBean = 0
objectName =
com.oracle.idaas:name=Contract1,type=Xml.ServiceDomain,Xml=MobileService
MobileAuthStyle = None
ServiceBinding =
array(javax.management.openmbean.CompositeData,[javax.management.openmbean.
CompositeDataSupport(compositeType=javax.management.openmbean.CompositeType(name=
com.oracle.xmlns.idm.idaas.idaas_config_11_1_2_0_0.TServiceBinding,
items=((itemName=allowRead,itemType=javax.management.openmbean.SimpleType(name=
java.lang.Boolean)),(itemName=allowWrite,itemType=javax.management.openmbean.
SimpleType(name=java.lang.Boolean)),(itemName=requiredToken,itemType=javax.managem
ent.openmbean.CompositeType(name=com.oracle.xmlns.idm.idaas.idaas_config_11_1_2_0_
0.TRequiredToken,items=((itemName=tokenService,itemType=javax.management.openmbean
.SimpleType(name=java.lang.String)),(itemName=tokenType,itemType=javax.management.
openmbean.ArrayType(name=[Ljava.lang.String;,dimension=1,elementType=javax.managem
ent.openmbean.SimpleType(name=java.lang.String),primitiveArray=false))))),(itemNam
e=serviceName,itemType=javax.management.openmbean.SimpleType(name=java.lang.String
)))),contents={allowRead=true, allowWrite=true,
requiredToken=javax.management.openmbean.CompositeDataSupport(compositeType=javax.
management.openmbean.CompositeType(name=com.oracle.xmlns.idm.idaas.idaas_config_
11_1_2_0_0.TRequiredToken,
items=((itemName=tokenService,itemType=javax.management.openmbean.SimpleType(name=
java.lang.String)),(itemName=tokenType,itemType=javax.management.openmbean.
ArrayType(name=[Ljava.lang.String;,dimension=1,elementType=javax.management.
openmbean.SimpleType(name=java.lang.String),primitiveArray=false)))),
contents={tokenService=JWTAuthentication, tokenType=[Ljava.lang.String;@d0fbf2}),
serviceName=UserProfile}),
javax.management.openmbean.CompositeDataSupport(compositeType=javax.management.
openmbean.CompositeType(name=
com.oracle.xmlns.idm.idaas.idaas_config_11_1_2_0_0.TServiceBinding,
items=((itemName=allowRead,itemType=javax.management.openmbean.SimpleType(name=
java.lang.Boolean)),(itemName=allowWrite,itemType=javax.management.openmbean.
SimpleType(name=java.lang.Boolean)),(itemName=requiredToken,itemType=
javax.management.openmbean.CompositeType(name=com.oracle.xmlns.idm.idaas.idaas_
config_11_1_2_0_0.TRequiredToken,
items=((itemName=tokenService,itemType=javax.management.openmbean.SimpleType(name=
java.lang.String)),(itemName=tokenType,itemType=javax.management.openmbean.
ArrayType(name=[Ljava.lang.String;,dimension=1,elementType=javax.management.
openmbean.SimpleType(name=java.lang.String),primitiveArray=false))))),
(itemName=serviceName,itemType=javax.management.openmbean.SimpleType(name=
java.lang.String)))),contents={allowRead=null, allowWrite=null,
requiredToken=null, serviceName=JWTAuthentication})])
MobileCredLevelForRegApp = None
ServiceDomainType = DESKTOP
Name = Contract1
ConfigMBean = 1
ClientAppBinding =
array(javax.management.openmbean.CompositeData,
[javax.management.openmbean.CompositeDataSupport(compositeType=javax.management.
openmbean.CompositeType(name=com.oracle.xmlns.idm.idaas.idaas_config_11_1_2_0_0
TApplicationBinding,items=((itemName=appName,itemType=javax.management.openmbean.
SimpleType(name=java.lang.String)),(itemName=mobileBinding,itemType=javax.
management.openmbean.CompositeType(name=com.oracle.xmlns.idm.idaas.
idaas_config_11_1_2_0_0.TMobileBinding,items=((itemName=SSOinclusion,
itemType=javax.management.openmbean.SimpleType(name=java.lang.Boolean)),
(itemName=SSOpriority,itemType=javax.management.openmbean.SimpleType(name=
java.lang.Short))))))),contents={appName=profileid1, mobileBinding=null}),
javax.management.openmbean.CompositeDataSupport(compositeType=javax.management.
openmbean.CompositeType(name=com.oracle.xmlns.idm.idaas.idaas_config_11_1_2_0_0
.TApplicationBinding,items=((itemName=appName,itemType=javax.management.openmbean
.SimpleType(name=java.lang.String)),(itemName=mobileBinding,itemType=javax.manage
ment.openmbean.CompositeType(name=com.oracle.xmlns.idm.idaas
.idaas_config_11_1_2_0_0.TMobileBinding,items=
((itemName=SSOinclusion,itemType=javax.management.openmbean.SimpleType(name=
java.lang.Boolean)),(itemName=SSOpriority,itemType=javax.management.openmbean.
SimpleType(name=java.lang.Short))))))),contents={appName=profileid2,
mobileBinding=null})])SecurityHandlerPluginName = None
eventTypes = array(java.lang.String,['jmx.attribute.change'])
RestartNeeded = 0
createSecurityHandlerPlugin
updateSecurityHandlerPlugin
getSecurityHandlerPlugins
removeSecurityHandlerPlugin
displaySecurityHandlerPlugin
createJailBreakingDetectionPolicy
構文
createJailBreakingDetectionPolicy(enabled, statementList, name)
| 引数 | 定義 |
|---|---|
enabled |
有効にします。 |
statementList |
パラメータのリスト。 |
name |
JailBreakingDetectionPolicyの名前。 |
例
createJailBreakingDetectionPolicy(true,
'[{minOSVersion:3.5,maxOSVersion:5.0,minClientSDKVersion:1.0,
maxClientSDKVersion:1.0,policyExpirationDurationInSec:3600,
autoCheckPeriodInMin:60,
detectionLocation:[{filePath:"/root",success:true,action:exists},
{filePath:"/opt",success:true,action:exists}]}]',
'defaultJailBreakingDetectionPolicy')
updateJailBreakingDetectionPolicy
構文
updateJailBreakingDetectionPolicy(enabled, statementList, name)
| 引数 | 定義 |
|---|---|
enabled |
有効にします。 |
statementList |
パラメータのリスト。 |
name |
JailBreakingDetectionPolicyの名前。 |
例
updateJailBreakingDetectionPolicy(true,'[{minOSVersion:3.5,maxOSVersion:5.0,minClientSDKVersion:1.0,maxClientSDKVersion:1.0,policyExpirationDurationInSec:3600,autoCheckPeriodInMin:60,detectionLocation:[{filePath:"/root",success:true,action:exists},{filePath:"/opt",success:true,action:exists}]}]','defaultJailBreakingDetectionPolicy')
getJailBreakingDetectionPolicys
removeJailBreakingDetectionPolicy
displayJailBreakingDetectionPolicy
例
displayJailBreakingDetectionPolicy('DefaultJailBreakingDetectionPolicy')
次に、サンプル出力を示します。
Displaying: JailBreakingDetectionPolicy : DefaultJailBreakingDetectionPolicy
ReadOnly = 0
ConfigMBean = 1
Name = DefaultJailBreakingDetectionPolicy
eventProvider = 1
SystemMBean = 0
objectName = com.oracle.idaas:name=DefaultJailBreakingDetectionPolicy,type=Xml.JailBreakingDetectionPolicy,Xml=MobileService
Enable = 1
JailBreakingDetectionPolicyStatement =
array(javax.management.openmbean.CompositeData,[javax.management.openmbean.
CompositeDataSupport(compositeType=javax.management.openmbean.CompositeType(name=
com.oracle.xmlns.idm.idaas.idaas_config_11_1_2_0_0.
TJailBreakingDetectionPolicyStatement,items=((itemName=autoCheckPeriodInMin,
itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)),
(itemName=detectionLocation,itemType=javax.management.openmbean.ArrayType(name=
[Ljavax.management.openmbean.CompositeData;,dimension=1,elementType=
javax.management.openmbean.CompositeType(name=com.oracle.xmlns.idm.idaas.
idaas_config_11_1_2_0_0.
TDetectionLocation,items=((itemName=action,itemType=javax.management.openmbean.
SimpleType(name=java.lang.String)),(itemName=filePath,itemType=javax.management.
openmbean.SimpleType(name=java.lang.String)),(itemName=success,itemType=javax.
management.openmbean.SimpleType(name=java.lang.Boolean)))),primitiveArray=false)),
(itemName=enable,itemType=javax.management.openmbean.SimpleType(name=java.lang.
Boolean)),(itemName=maxClientSDKVersion,itemType=javax.management.openmbean.
SimpleType(name=java.lang.String)),(itemName=maxOSVersion,itemType=javax.
management.openmbean.SimpleType(name=java.lang.String)),(itemName=
minClientSDKVersion,itemType=javax.management.openmbean.SimpleType(name=
java.lang.String)),
(itemName=minOSVersion,itemType=javax.management.openmbean.SimpleType(name=
java.lang.String)),(itemName=policyExpirationDurationInSec,itemType=javax.
management.openmbean.SimpleType(name=java.lang.Long)))),contents=
{autoCheckPeriodInMin=60,detectionLocation=[Ljavax.management.openmbean.
CompositeData;@2dc906,enable=true,maxClientSDKVersion=11.1.2.0.0,
maxOSVersion=null, minClientSDKVersion=11.1.2.0.0, minOSVersion=1.0,
policyExpirationDurationInSec=3600})])
eventTypes = array(java.lang.String,['jmx.attribute.change'])
RestartNeeded = 0