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

前
 
次
 

6 Mobile and SocialのWLSTコマンド

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

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

Mobile and Socialのコマンド

表6-1に示されているWLSTコマンドを使用して、Oracle Access Management Mobile and Social (Mobile and Social)構成オブジェクトを管理します。

表6-1 モバイル・サービスとソーシャル・アイデンティティのWLSTモバイルおよびソーシャル・コマンド

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

システム構成コマンド



getRPSystemConfig


システム構成データを取得します。

オンライン

replaceRPSystemConfig


システム構成データを更新します。

オンライン

RPApplicationコマンド



getRPApplications


RPApplicationオブジェクトを取得します。

オンライン

removeRPApplication


指定されたRPApplicationオブジェクトを削除します。

オンライン

displayRPApplication


指定されたRPApplicationオブジェクトを表示します。

オンライン

createRPApplication


新しいRPApplicationオブジェクトを作成します。

オンライン

updateRPApplication


定義済のRPApplicationオブジェクトの値を更新します。

オンライン

ServiceProviderInterfaceコマンド



getServiceProviderInterfaces


RPApplicationオブジェクトを取得します。

オンライン

removeServiceProviderInterface


指定されたRPApplicationオブジェクトを削除します。

オンライン

displayServiceProviderInterface


指定されたRPApplicationオブジェクトを表示します。

オンライン

createServiceProviderInterface


新しいRPApplicationオブジェクトを作成します。

オンライン

updateServiceProviderInterface


定義済のRPApplicationオブジェクトの値を更新します。

オンライン

ソーシャル・アイデンティティ・プロバイダ・コマンド



getInternetIdentityProviders


ソーシャル・アイデンティティ・プロバイダ・オブジェクトを取得します。

オンライン

removeInternetIdentityProvider


指定されたソーシャル・アイデンティティ・プロバイダ・オブジェクトを削除します。

オンライン

displayInternetIdentityProvider


指定されたソーシャル・アイデンティティ・プロバイダ・オブジェクトを表示します。

オンライン

createInternetIdentityProvider


新しいソーシャル・アイデンティティ・プロバイダ・オブジェクトを作成します。

オンライン

updateInternetIdentityProvider


定義済のソーシャル・アイデンティティ・プロバイダ・オブジェクトの値を更新します。

オンライン

ユーザー属性マッピング・コマンド



getUserAttributeMappings


ユーザー属性マッピング・オブジェクトを取得します。

オンライン

removeUserAttributeMapping


指定されたユーザー属性マッピング・オブジェクトを削除します。

オンライン

displayUserAttributeMapping


指定されたユーザー属性マッピング・オブジェクトを表示します。

オンライン

updateUserAttributeMapping


定義済のユーザー属性マッピング・オブジェクトの値を更新します。

オンライン

ServiceProviderコマンド



createServiceProvider


ServiceProviderを作成します。

オンライン

updateServiceProvider


ServiceProviderを更新します

オンライン

addRelationshipToServiceProvider


サービス・プロバイダに関係を追加します。

オンライン

removeRelationshipFromServiceProvider


サービス・プロバイダから関係を削除します。

オンライン

getServiceProviders


ServiceProviderを取得します。

オンライン

removeServiceProvider


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

オンライン

displayServiceProvider


ServiceProviderオブジェクトを表示します。

オンライン

ServiceProfileコマンド



createServiceProfile


サービス・オブジェクトを作成します。

オンライン

updateServiceProfile


サービス・オブジェクトを更新します。

オンライン

removeServiceProfile


サービス・オブジェクトを削除します。

オンライン

displayServiceProfile


サービス・オブジェクトを表示します。

オンライン

getServiceProfiles


すべてのサービス・オブジェクトを取得します。

オンライン

ApplicationProfileコマンド



getApplicationProfiles


すべてのApplicationProfileオブジェクトを一覧表示します。

オンライン

createApplicationProfile


ApplicationProfileを作成します。

オンライン

updateApplicationProfile


ApplicationProfileを更新します。

オンライン

removeApplicationProfile


ApplicationProfileを削除します。

オンライン

displayApplicationProfile


ApplicationProfileを表示します。

オンライン

ServiceDomainコマンド



createServiceDomain


ServiceDomainを作成します。

オンライン

updateServiceDomain


ServiceDomainを更新します。

オンライン

getServiceDomains


ServiceDomainを取得します。

オンライン

removeServiceDomain


ServiceDomainを削除します。

オンライン

displayServiceDomain


ServiceDomainを表示します。

オンライン

SecurityHandlerコマンド



createSecurityHandlerPlugin


SecurityHandlerPluginを作成します。

オンライン

updateSecurityHandlerPlugin


SecurityHandlerPluginを更新します。

オンライン

getSecurityHandlerPlugins


SecurityHandlerPluginを取得します。

オンライン

removeSecurityHandlerPlugin


SecurityHandlerPluginを削除します。

オンライン

displaySecurityHandlerPlugin


SecurityHandlerPluginを表示します。

オンライン

JailBreakingDetectionPolicyコマンド



createJailBreakingDetectionPolicy


JailBreakingDetectionPolicyを作成します。

オンライン

updateJailBreakingDetectionPolicy


JailBreakingDetectionPolicyを更新します。

オンライン

getJailBreakingDetectionPolicys


JailBreakingDetectionPolicyを取得します。

オンライン

removeJailBreakingDetectionPolicy


JailBreakingDetectionPolicyを削除します。

オンライン

displayJailBreakingDetectionPolicy


JailBreakingDetectionPolicyを表示します。

オンライン


getRPSystemConfig

getRPSystemConfig

説明

システム構成情報を取得します。

構文

getRPSystemConfig( )

このコマンドには、引数はありません。

getRPSystemConfig( )

replaceRPSystemConfig

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}]}]

replaceRPSystemConfig('http://515.server.com','http','server.com','18001','proxyUser','proxyPass','[{aas.rest.service:http://adc514:18001/aas_rest}]')

getRPApplications

getRPApplications

説明

RPApplicationオブジェクトを取得します。

構文

getRPApplications( )

このコマンドには、引数はありません。

getRPApplications( )

removeRPApplication

removeRPApplication

説明

指定されたRPApplicationオブジェクトを削除します。

構文

removeRPApplication(name)

ここで、nameは、RPApplicationオブジェクトの名前です。

removeRPApplication('TestApp')

displayRPApplication

displayRPApplication

説明

指定されたRPApplicationオブジェクトを表示します。

構文

displayRPApplication(name)

ここで、nameは、RPApplicationオブジェクトの名前です。

displayRPApplication('TestApp')

createRPApplication

createRPApplication

説明

新しいRPApplicationオブジェクトを作成します。

構文

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

説明

RPApplicationオブジェクトの特定の値を更新します。

構文

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 作成するオブジェクトの説明。

updateRPApplication('Facebook,Google','mySecret','http://me.com',
'OAMServiceProviderInterface','[{pratname1:atval1},{pratname2:atval2}]',
'userMap1,userMap2','[{atname1:atval2},{atname2:atval2}]','/oam/server','myApp',
'new Application')

getServiceProviderInterfaces

getServiceProviderInterfaces

説明

サービス・プロバイダ・インタフェース・オブジェクトを取得します。

構文

getServiceProviderInterfaces( )

このコマンドには、引数はありません。

getServiceProviderInterfaces( )

removeServiceProviderInterface

removeServiceProviderInterface

説明

指定されたサービス・プロバイダ・インタフェース・オブジェクトを削除します。

構文

removeServiceProviderInterface(name)

ここで、nameは、サービス・プロバイダ・インタフェース・オブジェクトの名前です。

removeServiceProviderInterface('TestApp')

displayServiceProviderInterface

displayServiceProviderInterface

説明

指定されたサービス・プロバイダ・インタフェース・オブジェクトを表示します。

構文

displayServiceProviderInterface(name)

ここで、nameは、サービス・プロバイダ・インタフェース・オブジェクトの名前です。

displayServiceProviderInterface('TestApp')

createServiceProviderInterface

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 作成するオブジェクトの説明。

createServiceProviderInterface('idp','postIDP','idpInteraction','regStatus',
'regTask','sessionPro','[{pratname1:atval1},{pratname2:atval2}]','mySPIBind',
'new SPI Binding')

updateServiceProviderInterface

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 作成するオブジェクトの説明。

updateServiceProviderInterface('idp','postIDP','idpInteraction','regStatus',
'regTask','sessionPro','[{pratname1:atval1},{pratname2:atval2}]','mySPIBind',
'new SPI Binding')

getInternetIdentityProviders

getInternetIdentityProviders

説明

ソーシャル・アイデンティティ・プロバイダ・オブジェクトを取得します。

構文

getInternetIdentityProviders( )

このコマンドには、引数はありません。

getInternetIdentityProviders( )

removeInternetIdentityProvider

removeInternetIdentityProvider

説明

指定されたソーシャル・アイデンティティ・プロバイダ・オブジェクトを削除します。

構文

removeInternetIdentityProvider(name)

ここで、nameは、ソーシャル・アイデンティティ・プロバイダ・オブジェクトの名前です。

removeInternetIdentityProvider('TestApp')

displayInternetIdentityProvider

displayInternetIdentityProvider

説明

指定されたソーシャル・アイデンティティ・プロバイダ・オブジェクトを表示します。

構文

displayInternetIdentityProvider(name)

ここで、nameは、ソーシャル・アイデンティティ・プロバイダ・オブジェクトの名前です。

displayInternetIdentityProvider('TestApp')

createInternetIdentityProvider

createInternetIdentityProvider

説明

新しいソーシャル・アイデンティティ・プロバイダ・オブジェクトを作成します。

構文

createInternetIdentityProvider(icon, protocolType, protocolAttributeList, providerImplClass, attributeList, name, description)

引数 定義
icon アイコンの名前。
protocolType プロトコルのタイプはOpenIDOAuthまたは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

説明

ソーシャル・アイデンティティ・プロバイダ・オブジェクトの特定の値を更新します。

構文

updateInternetIdentityProvider(icon, protocolType, protocolAttributeList, attributeList, providerImplClass, name, description)

引数 定義
icon アイコンの名前。
protocolType プロトコルのタイプはOpenIDOAuthまたはCustomのいずれかになります。
protocolAttributeList JSON形式で指定されるプロトコル属性のリスト。
[{name1:value1},{name2:value2}]
providerImplClass プロバイダの実装クラス。
attributeList JSON形式で指定されるプロトコル属性のリスト。
[{name1:value1},{name2:value2}]
name 更新するプロバイダの名前。
description 更新するプロバイダの説明。

updateInternetIdentityProvider('myIcon','myType','[{pratname1:atval1},{pratname2:atval2}]','[{atname1:atval1},{atname2:atval2}]','class','myProvider','new Identity Provider')

getUserAttributeMappings

getUserAttributeMappings

説明

ユーザー属性マッピング・オブジェクトを取得します。

構文

getUserAttributeMappings( )

このコマンドには、引数はありません。

getUserAttributeMappings( )

removeUserAttributeMapping

removeUserAttributeMapping

説明

指定されたユーザー属性マッピング・オブジェクトを削除します。

構文

removeUserAttributeMapping(name)

ここで、nameは、ユーザー属性マッピング・オブジェクトの名前です。

removeUserAttributeMapping('TestApp')

displayUserAttributeMapping

displayUserAttributeMapping

説明

指定されたユーザー属性マッピング・オブジェクトを表示します。

構文

displayUserAttributeMapping(name)

ここで、nameは、ユーザー属性マッピング・オブジェクトの名前です。

displayUserAttributeMapping('TestApp')

updateUserAttributeMapping

updateUserAttributeMapping

説明

ユーザー属性・マッピング・オブジェクトの特定の値を更新します。

構文

updateUserAttributeMapping(application, idp, name, appProtocolAttributeList)

引数 定義
application アプリケーションの名前。
idp アイデンティティ・プロバイダの名前。
name 作成するオブジェクトの名前。
appProtocolAttributeList JSON形式のプロトコル属性のリスト。
[{idp:[{name:value},{name:value}],idp2:[{name:value},{name:value}]}]

updateUserAttributeMapping('myApp','myProvider','myMap','[{pratname1:atval1},{pratname2:atval2}]')

createServiceProvider

createServiceProvider

説明

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

構文

createServiceProvider(serviceProviderImpl, serviceProviderType, relationshipList, paramList, name, description)

引数 定義
serviceProviderImpl サービス・プロバイダの実装。
serviceProviderType サービス・プロバイダのタイプ。許容可能な値は、AuthorizationAuthenticationまたは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

説明

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

構文

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形式で指定されたこのサービス・プロバイダのパラメータ。

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

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

説明

サービス・プロバイダに関係を追加します。

構文

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

removeRelationshipFromServiceProvider

説明

サービス・プロバイダから関係を削除します。

構文

removeRelationshipFromServiceProvider

引数 定義
name サービス・ドメインの名前。
relationshipList このサービス・プロバイダの関係名。

removeRelationshipFromServiceProvider('idsprovider1','relname')

getServiceProviders

getServiceProviders

説明

サービス・プロバイダを取得します。

構文

getServiceProviders()

このコマンドには、引数はありません。

getServiceProviders()

次に、サンプル出力を示します。

ServiceProvider: UserProfile1
ServiceProvider: JWTAuthentication
ServiceProvider: UserProfile
ServiceProvider: MobileOAMAuthentication
ServiceProvider: OAMAuthentication
ServiceProvider: MobileJWTAuthentication
ServiceProvider: sampleauthzserviceprovider
ServiceProvider: InternetIdentityAuthentication
ServiceProvider: OAMAuthorization

removeServiceProvider

removeServiceProvider

説明

このコマンドは、ServiceProviderオブジェクトを削除します。

構文

removeServiceProvider(name)

ここで、nameは、ServiceProviderオブジェクトの名前です。

removeServiceProvider('name')

displayServiceProvider

displayServiceProvider

説明

このコマンドは、ServiceProviderオブジェクトを表示します。

構文

displayServiceProvider(name)

ここで、nameは、ServiceProviderオブジェクトの名前です。

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

説明

サービスを作成します。

構文

createServiceProfile(serviceProvider, supportedTokenList, paramList, endPoint, name, description, enabled)

引数 定義
serviceProvider サービス・プロバイダの名前。
supportedTokenList JSON形式で指定されたサポート対象トークンのリスト。

{type,...}

ここで、typeは、CLIENTTOKENUSERTOKENACCESSTOKENまたはCLIENTREGHANDLEとして定義されます。

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

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

endPoint サービス・エンドポイント。
name サービスの名前。
description サービスの説明。
enabled サービスを有効にするか、無効にするかを示します。ブール・フラグ。

createServiceProfile('OAMAuthentication','CLIENTTOKEN,ACCESSTOKEN,USERTOKEN','[]',
'/oamauthentication','OAMAuthentication','Out Of The Box Oracle Access Manager
(OAM) Authentication Token Service',true)

updateServiceProfile

updateServiceProfile

説明

サービスを更新します。

構文

updateServiceProfile(serviceProvider, supportedTokenList, paramList, endPoint, name, description, enabled)

引数 定義
serviceProvider サービス・プロバイダの名前。
supportedTokenList JSON形式で指定されたサポート対象トークンのリスト。

{type,...}

ここで、typeは、CLIENTTOKENUSERTOKENACCESSTOKENまたはCLIENTREGHANDLEとして定義されます。

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

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

endPoint サービス・エンドポイント。
name サービスの名前。
description サービスの説明。
enabled サービスを有効にするか、無効にするかを示します。ブール・フラグ。

updateServiceProfile('MobileJWTAuthentication','CLIENTREGHANDLE,
ACCESSTOKEN,USERTOKEN','[]','/mobilejwtauthentication','MobileJWTAuthentication',
'Out Of The Box Mobile Java Web Token (JWT) Authentication Service Provider',true)

removeServiceProfile

removeServiceProfile

説明

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

構文

removeServiceProfile(name)

ここで、nameは、削除するサービスの名前です。

removeServiceProfile('myService')

displayServiceProfile

displayServiceProfile

説明

このコマンドは、サービス・オブジェクトを表示します。

構文

displayServiceProfile(name)

ここで、nameは、表示するサービス・プロファイルの名前です。

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

説明

すべてのサービス・オブジェクトを取得します。

構文

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

getApplicationProfiles

説明

ApplicationProfileオブジェクトを一覧表示します。

構文

getApplicationProfiles()

このコマンドには、引数はありません。

getApplicationProfiles()

次に、サンプル出力を示します。

Contract: MobileExpenseReport1
Contract: MobileAgent2
Contract: MobileBusinessTestApp01
Contract: MobileAgent1
Contract: profileid1
Contract: samplemobileapp2
Contract: profileid2
Contract: samplemobileapp1

createApplicationProfile

createApplicationProfile

説明

ApplicationProfileを作成します。

構文

createApplicationProfile(paramList, mobileAppProfileStr, name, description)

引数 定義
paramList JSON形式で指定されたこのサービスのパラメータのリスト。

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

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

説明

ApplicationProfileを更新します。

構文

updateApplicationProfile(paramList, mobileAppProfileStr, name, description)

引数 定義
paramList JSON形式で指定されたこのサービスのパラメータのリスト。

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

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

removeApplicationProfile

説明

このコマンドは、ApplicationProfileを削除します。

構文

removeApplicationProfile(name)

ここで、nameは、削除するApplicationProfileの名前です。

removeApplicationProfile('name')

displayApplicationProfile

displayApplicationProfile

説明

このコマンドは、指定されたApplicationProfileを表示します。

構文

dislayApplicationProfile(name)

ここで、nameは、削除するApplicationProfileの名前です。

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

説明

ServiceDomainを作成します。

構文

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

説明

ServiceDomainを更新します。

構文

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

getServiceDomains

説明

ServiceDomainを取得します。

構文

getServiceDomains()

このコマンドには、引数はありません。

getServiceDomain()

次に、サンプル出力を示します。

ServiceDomain: MobileServiceDomainUTReg
ServiceDomain: MobileRPServiceDomain
ServiceDomain: Contract1
ServiceDomain: MobileJWTServiceDomain
ServiceDomain: MobileRPServiceDomainUTReg
ServiceDomain: MobileContract
ServiceDomain: Default
ServiceDomain: MobileServiceDomain

removeServiceDomain

removeServiceDomain

説明

ServiceDomainを削除します。

構文

removeServiceDomain(name)

ここで、nameは、削除するServiceDomainの名前です。

removeServiceDomain('name')

displayServiceDomain

displayServiceDomain

説明

ServiceDomainを表示します。

構文

displayServiceDomain(name)

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

createSecurityHandlerPlugin

説明

SecurityHandlerPluginを作成します。

構文

createSecurityHandlerPlugin(securityHandlerClass, paramList, name, description)

引数 定義
securityHandlerClass セキュリティ・ハンドラ・クラスの名前。
paramList パラメータのリスト。
name SecurityHandlerPluginの名前。
description SecurityHandlerPluginの説明。

createSecurityHandlerPlugin(
'oracle.security.idaas.rest.provider.plugin.impl.
DefaultMobileSecurityHandlerImpl','
[{allowJailBrokenDevices:false},{requiredHardwareIds:MAC_ADDRESS},
{requiredDeviceProfileAttrs:OSType OSVersion isJailBroken clientSDKVersion}]',
'DefaultSecurityHandlerPlugin','')

updateSecurityHandlerPlugin

updateSecurityHandlerPlugin

説明

SecurityHandlerPluginを更新します。

構文

updateSecurityHandlerPlugin(securityHandlerClass, paramList, name, description)

引数 定義
securityHandlerClass セキュリティ・ハンドラ・クラスの名前。
paramList パラメータのリスト。
name SecurityHandlerPluginの名前。
description SecurityHandlerPluginの説明。

updateSecurityHandlerPlugin('oracle.security.idaas.rest.provider.plugin.impl.DefaultMobileSecurityHandlerImpl','[{allowJailBrokenDevices:false},{requiredHardwareIds:MAC_ADDRESS},{requiredDeviceProfileAttrs:OSType OSVersion isJailBroken clientSDKVersion}]','DefaultSecurityHandlerPlugin','')

getSecurityHandlerPlugins

getSecurityHandlerPlugins

説明

SecurityHandlerPluginを取得します。

構文

getSecurityHandlerPlugins()

このコマンドには、引数はありません。

getSecurityHandlerPlugins()

次に、サンプル出力を示します。

SecurityHandlerPlugin: JunitDebugSecurityHandlerPluginSecurityHandlerPlugin: OaamSecurityHandlerPluginSecurityHandlerPlugin: DefaultSecurityHandlerPlugin

removeSecurityHandlerPlugin

removeSecurityHandlerPlugin

説明

SecurityHandlerPluginを削除します。

構文

removeSecurityHandlerPlugin(name)

ここで、nameは、削除するSecurityHandlerPluginの名前です。

removeSecurityHandlerPlugin('name')

displaySecurityHandlerPlugin

displaySecurityHandlerPlugin

説明

SecurityHandlerPluginを表示します。

構文

displaySecrityHandlerPlugin(name)

ここで、nameは、表示するSecurityHandlerPluginの名前です。

displaySecurityHandlerPlugin('name')

createJailBreakingDetectionPolicy

createJailBreakingDetectionPolicy

説明

JailBreakingDetectionPolicyを作成します。

構文

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

説明

JailBreakingDetectionPolicyを更新します。

構文

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

getJailBreakingDetectionPolicys

説明

JailBreakingDetectionPolicyを取得します。

構文

getJailBreakingDetectionPolicys()

このコマンドには、引数はありません。

getJailBreakingDetectionPolicys()

次に、サンプル出力を示します。

JailBreakingDetectionPolicy: DefaultJailBreakingDetectionPolicy

removeJailBreakingDetectionPolicy

removeJailBreakingDetectionPolicy

説明

JailBreakingDetectionPolicyを削除します。

構文

removeJailBreakingDetectionPolicy(name)

ここで、nameは、JailBreakingDetectionPolicyの名前です。

removeJailBreakingDetectionPolicy('name')

displayJailBreakingDetectionPolicy

displayJailBreakingDetectionPolicy

説明

JailBreakingDetectionPolicyを表示します。

構文

displayJailBreakingDetectionPolicy(name)

ここで、nameは、JailBreakingDetectionPolicyの名前です。

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