4 Mobile and Social WLST Commands
The Mobile and Social Commands section lists the Mobile and Social WLST commands.
4.1 Mobile and Social Commands
Use the WLST commands listed in Table 4-1 to manage Mobile and Social configuration objects.
Table 4-1 WLST Mobile and Social Commands for Mobile Services and Social Identity
Use this command... | To... | Use with WLST... |
---|---|---|
System Configuration Commands |
||
Retrieve system configuration data. |
Online |
|
Update system configuration data. |
Online |
|
RPApplication Commands |
||
Retrieves the RPApplication objects. |
Online |
|
Deletes the specified RPApplication object. |
Online |
|
Displays the specified RPApplication object. |
Online |
|
Creates a new RPApplication object. |
Online |
|
Updates values for a defined RPApplication object. |
Online |
|
ServiceProviderInterface Commands |
||
Retrieves the RPApplication objects. |
Online |
|
Deletes the specified RPApplication object. |
Online |
|
Displays the specified RPApplication object. |
Online |
|
Creates a new RPApplication object. |
Online |
|
Updates values for a defined RPApplication object. |
Online |
|
Social Identity Provider Commands |
||
Retrieves the Social Identity Provider objects. |
Online |
|
Deletes the specified Social Identity Provider object. |
Online |
|
Displays the specified Social Identity Provider object. |
Online |
|
Creates a new Social Identity Provider object. |
Online |
|
Updates values for a defined Social Identity Provider object. |
Online |
|
User Attribute Mapping Commands |
||
Retrieves the User Attribute Mapping objects. |
Online |
|
Deletes the specified User Attribute Mapping object. |
Online |
|
Displays the specified User Attribute Mapping object. |
Online |
|
Updates values for a defined User Attribute Mapping object. |
Online |
|
ServiceProvider Commands |
||
Create a ServiceProvider. |
Online |
|
Update a ServiceProvider |
Online |
|
Add a Relationship To a Service Provider. |
Online |
|
Remove a Relationship from a Service Provider. |
Online |
|
Get a ServiceProvider. |
Online |
|
Remove a ServiceProvider object. |
Online |
|
Display a ServiceProvider object. |
Online |
|
ServiceProfile Commands |
||
Create a service object. |
Online |
|
Update a service object. |
Online |
|
Remove a service object. |
Online |
|
Display a service object. |
Online |
|
Retrieve all the service objects. |
Online |
|
ApplicationProfile Commands |
||
List all ApplicationProfile objects. |
Online |
|
Create an ApplicationProfile. |
Online |
|
Update an ApplicationProfile. |
Online |
|
Remove an ApplicationProfile. |
Online |
|
Display an ApplicationProfile. |
Online |
|
ServiceDomain Commands |
||
Create a ServiceDomain. |
Online |
|
Update a ServiceDomain. |
Online |
|
Retrieve a ServiceDomain. |
Online |
|
Remove a ServiceDomain. |
Online |
|
Display a ServiceDomain. |
Online |
|
SecurityHandler Commands |
||
Create a SecurityHandlerPlugin. |
Online |
|
Update a SecurityHandlerPlugin. |
Online |
|
Retrieve a SecurityHandlerPlugin. |
Online |
|
Remove a SecurityHandlerPlugin. |
Online |
|
Display a SecurityHandlerPlugin. |
Online |
|
JailBreakingDetectionPolicy Commands |
||
Create a JailBreakingDetectionPolicy. |
Online |
|
Update a JailBreakingDetectionPolicy. |
Online |
|
Retrieve a JailBreakingDetectionPolicy. |
Online |
|
Remove a JailBreakingDetectionPolicy. |
Online |
|
Display a JailBreakingDetectionPolicy. |
Online |
4.1.1 getRPSystemConfig
The getRPSystemConfig command is an online command that retrieves the system configuration information.
Description
Retrieves the system configuration information.
Syntax
getRPSystemConfig( )
This command has no arguments.
Example
getRPSystemConfig( )
4.1.2 replaceRPSystemConfig
The replaceRPSystemConfig command is an online command that replaces the value of a specific system configuration.
Description
Replaces the value of a particular system configuration.
Syntax
replaceRPSystemConfig(hostURL, proxyProtocol, proxyHost, proxyPort, proxyUsername, proxyPassword, attributeList)
Argument | Definition |
---|---|
|
The URL of the machine hosting the Mobile and Social server. |
|
The proxy protocol ( |
|
The URL of the proxy machine. |
|
The port of the proxy machine. |
|
Name of the user accessing the proxy. |
|
Password of the user accessing the proxy. |
|
List of attributes in the JSON format. [{idp:[{name:value},{name:value}],idp2:[{name:value},{name:value}]}] |
Example
replaceRPSystemConfig('http://515.server.com','http','server.com','18001','proxyUser','proxyPass','[{aas.rest.service:http://adc514:18001/aas_rest}]')
4.1.3 getRPApplications
The getRPApplications command is an online command that retrieves the RPApplication objects.
Description
Retrieves the RPApplication objects.
Syntax
getRPApplications( )
This command has no arguments.
Example
getRPApplications( )
4.1.4 removeRPApplication
The removeRPApplication command is an online command that removes the specified RPApplication object.
Description
Removes the specified RPApplication object.
Syntax
removeRPApplication(name)
where name is the name of the RPApplication object.
Example
removeRPApplication('TestApp')
4.1.5 displayRPApplication
The displayRPApplication command is an online command that displays the specified RPApplication object.
Description
Displays the specified RPApplication object.
Syntax
displayRPApplication(name)
where name is the name of the RPApplication object.
Example
displayRPApplication('TestApp')
4.1.6 createRPApplication
The createRPApplication command is an online command that creates a new RPApplication object.
Description
Creates a new RPApplication object.
Syntax
createRPApplication(identityProviderNameList, sharedSecret, returnUrl, SPIBindingName, applicationAttributesList, userAttributeMappings, attributeList, mobileApplicationReturnUrl, name, description)
Argument | Definition |
---|---|
|
A list of Identity Providers |
|
The shared secret. |
|
The return URL. |
|
The SPI binding name. |
|
List of RPApplication attributes specified in the JSON format. [{name1:value1},{name2:value2}] |
|
List of User Attribute Mappings specified in the JSON format. [{idp:[{name:value},{name:value}],idp2:[{name:value},{name:value}]}] |
|
List of attributes specified in the JSON format. [{name1:value1},{name2:value2}] |
|
The return URL of the mobile application. |
|
Name of the object to be created. |
|
Description of the object to be created. |
Example
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')
4.1.7 updateRPApplication
The updateRPApplication command is an online command that updates a specific value for an RPApplication object.
Description
Updates a particular value for an RPApplication object.
Syntax
updateRPApplication(identityProviderNameList, sharedSecret, returnUrl, SPIBindingName, applicationAttributesList, userAttributeMappings, attributeList, mobileApplicationReturnUrl, name, description)
Argument | Definition |
---|---|
|
A list of Identity Providers |
|
The shared secret. |
|
The return URL. |
|
The SPI binding name. |
|
List of RPApplication attributes specified in the JSON format. [{name1:value1},{name2:value2}] |
|
List of User Attribute Mappings specified in the JSON format. [{idp:[{name:value},{name:value}],idp2:[{name:value},{name:value}]}] |
|
List of attributes specified in the JSON format. [{name1:value1},{name2:value2}] |
|
The return URL of the mobile application. |
|
Name of the object to be created. |
|
Description of the object to be created. |
Example
updateRPApplication('Facebook,Google','mySecret','http://me.com', 'OAMServiceProviderInterface','[{pratname1:atval1},{pratname2:atval2}]', 'userMap1,userMap2','[{atname1:atval2},{atname2:atval2}]','/oam/server','myApp', 'new Application')
4.1.8 getServiceProviderInterfaces
The getServiceProviderInterfaces command is an online command that retrieves the Service Provider interface objects.
Description
Retrieves the Service Provider interface objects.
Syntax
getServiceProviderInterfaces( )
This command has no arguments.
Example
getServiceProviderInterfaces( )
4.1.9 removeServiceProviderInterface
The removeServiceProviderInterface command is an online command that removes the specified Service Provider interface object.
Description
Removes the specified Service Provider interface object.
Syntax
removeServiceProviderInterface(name)
where name is the name of the Service Provider interface object.
Example
removeServiceProviderInterface('TestApp')
4.1.10 displayServiceProviderInterface
The displayServiceProviderInterface command is an online command that displays the specified Service Provider interface object.
Description
Displays the specified Service Provider interface object.
Syntax
displayServiceProviderInterface(name)
where name is the name of the Service Provider interface object.
Example
displayServiceProviderInterface('TestApp')
4.1.11 createServiceProviderInterface
The createServiceProviderInterface command is an online command that creates a new Service Provider interface object.
Description
Creates a new Service Provider interface object.
Syntax
createServiceProviderInterface(idpSelectorImpl, postIDPSelectorImpl, idpInteractionProviderImpl, registrationStatusCheckImpl, registrationTaskFlowProviderImpl, sessionCreationProviderImpl, attributeList, name, description)
Argument | Definition |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
List of attributes in JSON format. [{idp:[{name:value},{name:value}],idp2:[{name:value},{name:value}]}] |
|
Name of the object to be created. |
|
Description of the object to be created. |
Example
createServiceProviderInterface('idp','postIDP','idpInteraction','regStatus', 'regTask','sessionPro','[{pratname1:atval1},{pratname2:atval2}]','mySPIBind', 'new SPI Binding')
4.1.12 updateServiceProviderInterface
The updateServiceProviderInterface command is an online command that updates a specific value for a Service Provider interface object.
Description
Updates a particular value for a Service Provider interface object.
Syntax
updateServiceProviderInterface(idpSelectorImpl, postIDPSelectorImpl, idpInteractionProviderImpl, registrationStatusCheckImpl, registrationTaskFlowProviderImpl, sessionCreationProviderImpl, attributeList, name, description)
Argument | Definition |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
List of attributes in JSON format. [{idp:[{name:value},{name:value}],idp2:[{name:value},{name:value}]}] |
|
Name of the object to be created. |
|
Description of the object to be created. |
Example
updateServiceProviderInterface('idp','postIDP','idpInteraction','regStatus', 'regTask','sessionPro','[{pratname1:atval1},{pratname2:atval2}]','mySPIBind', 'new SPI Binding')
4.1.13 getInternetIdentityProviders
The getInternetIdentityProviders command is an online command that retrieves the Social Identity Provider objects.
Description
Retrieves the Social Identity Provider objects.
Syntax
getInternetIdentityProviders( )
This command has no arguments.
Example
getInternetIdentityProviders( )
4.1.14 removeInternetIdentityProvider
The removeInternetIdentityProvider command is an online command that removes the specified Social Identity Provider object.
Description
Removes the specified Social Identity Provider object.
Syntax
removeInternetIdentityProvider(name)
where name is the name of the Social Identity Provider object.
Example
removeInternetIdentityProvider('TestApp')
4.1.15 displayInternetIdentityProvider
The displayInternetIdentityProvider command is an online command that displays the specified Social Identity Provider object.
Description
Displays the specified Social Identity Provider object.
Syntax
displayInternetIdentityProvider(name)
where name is the name of the Social Identity Provider object.
Example
displayInternetIdentityProvider('TestApp')
4.1.16 createInternetIdentityProvider
The createInternetIdentityProvider command is an online command that creates a new Social Identity Provider object.
Description
Creates a new Social Identity Provider object.
Syntax
createInternetIdentityProvider(icon, protocolType, protocolAttributeList, providerImplClass, attributeList, name, description)
Argument | Definition |
---|---|
|
Name of the icon. |
|
The protocol type is either |
|
A list of protocol attributes specified in JSON format. [{name1:value1},{name2:value2}] |
|
Implementation class for the provider. |
|
List of attributes specified in JSON format. [{name1:value1},{name2:value2}] |
|
Name of the provider to be created. |
|
Description of the provider to be created. |
Example
createInternetIdentityProvider('myIcon','myType','[{pratname1:atval1}, {pratname2:atval2}]','[{atname1:atval1},{atname2:atval2}]','class','myProvider', 'new Identity Provider')
Note:
createInternetIdentityProvider
can also be used within a script to create the provider configuration for Foursquare and Windows Live. The following example is a script for Foursquare. Update the username and password used to connect to the WebLogic Server and the consumer's key and secret values (between the quotes) before executing:
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()
4.1.17 updateInternetIdentityProvider
The updateInternetIdentityProvider command is an online command that updates a particular value for a Social Identity Provider object.
Description
Updates a particular value for a Social Identity Provider object.
Syntax
updateInternetIdentityProvider(icon, protocolType, protocolAttributeList, attributeList, providerImplClass, name, description)
Argument | Definition |
---|---|
|
Name of the icon. |
|
The protocol type is either |
|
A list of protocol attributes specified in JSON format. [{name1:value1},{name2:value2}] |
|
Implementation class for the provider. |
|
List of attributes specified in JSON format. [{name1:value1},{name2:value2}] |
|
Name of the provider to be updated. |
|
Description of the provider to be updated. |
Example
updateInternetIdentityProvider('myIcon','myType','[{pratname1:atval1},{pratname2:atval2}]','[{atname1:atval1},{atname2:atval2}]','class','myProvider','new Identity Provider')
4.1.18 getUserAttributeMappings
The getUserAttributeMappings command is an online command that retrieves the User Attribute Mapping objects.
Description
Retrieves the User Attribute Mapping objects.
Syntax
getUserAttributeMappings( )
This command has no arguments.
Example
getUserAttributeMappings( )
4.1.19 removeUserAttributeMapping
The removeUserAttributeMapping command is an online command that removes the specified User Attribute Mapping object.
Description
Removes the specified User Attribute Mapping object.
Syntax
removeUserAttributeMapping(name)
where name is the name of the User Attribute Mapping object.
Example
removeUserAttributeMapping('TestApp')
4.1.20 displayUserAttributeMapping
The displayUserAttributeMapping command is an online command that displays the specified User Attribute Mapping object.
Description
Displays the specified User Attribute Mapping object.
Syntax
displayUserAttributeMapping(name)
where name is the name of the User Attribute Mapping object.
Example
displayUserAttributeMapping('TestApp')
4.1.21 updateUserAttributeMapping
The updateUserAttributeMapping command is an online command that updates a particular value for a User Attribute Mapping object.
Description
Updates a particular value for a User Attribute Mapping object.
Syntax
updateUserAttributeMapping(application, idp, name, appProtocolAttributeList)
Argument | Definition |
---|---|
|
Name of the application. |
|
Name of the identity provider. |
|
Name of the object to be created. |
|
List of protocol attributes in JSON format. [{idp:[{name:value},{name:value}],idp2:[{name:value},{name:value}]}] |
Example
updateUserAttributeMapping('myApp','myProvider','myMap','[{pratname1:atval1},{pratname2:atval2}]')
4.1.22 createServiceProvider
The createServiceProvider command is an online command that creates a service provider.
Description
Creates a Service Provider.
Syntax
createServiceProvider(serviceProviderImpl, serviceProviderType, relationshipList, paramList, name, description)
Argument | Definition |
---|---|
|
The service provider implementation. |
|
The type of service provider. Acceptable values include either |
|
The relationship for this Service Provider specified in JSON format:[{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}}] |
|
The parameters for this Service Provider specified in JSON format:[{name1:value1},{name2:value2}...] |
|
Name of the service provider. |
|
Description of the service provider. |
Example
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')
4.1.23 updateServiceProvider
The updateServiceProvider command is an online command that updates a service provider.
Description
Updates a Service Provider.
Syntax
updateServiceProvider(serviceProviderImpl, serviceProviderType, relationshipList, paramList, name, description)
Argument | Definition |
---|---|
|
The service provider implementation |
|
The type of service provider - either Authorization, Authentication or UserProfile. |
|
The relationship for this service provider specified in JSON format: [{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}}] |
|
The parameters for this Service Provider specified in JSON format:
|
|
Name of the service provider. |
|
Description of the service provider. |
Example
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')
4.1.24 addRelationshipToServiceProvider
The addRelationshipToServiceProvider command is an online command that adds a relationship to a service provider.
Description
Adds a Relationship to a Service Provider.
Syntax
addRelationshipToServiceProvider(name, relationshipList)
Argument | Definition |
---|---|
|
Name of the service provider. |
|
The relationship for this Service Provider specified in JSON format: [{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}}] |
Example
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}}]
4.1.25 removeRelationshipFromServiceProvider
The removeRelationshipFromServiceProvider command is an online command that removes a Relationship from a Service Provider.
Description
Removes a Relationship from a Service Provider.
Syntax
removeRelationshipFromServiceProvider
Argument | Definition |
---|---|
|
Name of the service domain. |
|
The relationship name for this Service Provider. |
Example
removeRelationshipFromServiceProvider('idsprovider1','relname')
4.1.26 getServiceProviders
The getServiceProviders command is an online command that retrieves a service provider.
Description
Get a service provider.
Syntax
getServiceProviders()
This command has no arguments.
Example
getServiceProviders()
The following lines show sample output:
ServiceProvider: UserProfile1 ServiceProvider: JWTAuthentication ServiceProvider: UserProfile ServiceProvider: MobileOAMAuthentication ServiceProvider: OAMAuthentication ServiceProvider: MobileJWTAuthentication ServiceProvider: sampleauthzserviceprovider ServiceProvider: InternetIdentityAuthentication ServiceProvider: OAMAuthorization
4.1.27 removeServiceProvider
The removeServiceProvider command is an online command that removes a service provider object.
Description
This command will remove a ServiceProvider object.
Syntax
removeServiceProvider(name)
where name
is the name of the ServiceProvider object.
Example
removeServiceProvider('name')
4.1.28 displayServiceProvider
The displayServiceProvider command is an online command that displays a ServiceProvider object.
Description
This command will display a ServiceProvider object.
Syntax
displayServiceProvider(name)
where name is the name of the ServiceProvider object.
Example
displayServiceProvider('OAMAuthentication')
The following lines show sample output:
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
4.1.29 createServiceProfile
The createServiceProfile command is an online command that creates a service profile.
Description
Creates a service.
Syntax
createServiceProfile(serviceProvider, supportedTokenList, paramList, endPoint, name, description, enabled)
Argument | Definition |
---|---|
|
Name of the service provider. |
|
A list of supported tokens specified in JSON format:
where |
|
A list of parameters for this Service specified in JSON format:
|
|
The service endpoint. |
|
Name of the service. |
|
Description of the service. |
|
Indicates if the service should be enabled or disabled. Boolean flag. |
Example
createServiceProfile('OAMAuthentication','CLIENTTOKEN,ACCESSTOKEN,USERTOKEN','[]', '/oamauthentication','OAMAuthentication','Out Of The Box Oracle Access Manager (OAM) Authentication Token Service',true)
4.1.30 updateServiceProfile
The updateServiceProfile command is an online command that updates a service profile.
Description
Updates a service.
Syntax
updateServiceProfile(serviceProvider, supportedTokenList, paramList, endPoint, name, description, enabled)
Argument | Definition |
---|---|
|
Name of the service provider. |
|
A list of supported tokens specified in JSON format:
where |
|
A list of parameters for this Service specified in JSON format:
|
|
The service endpoint. |
|
Name of the service. |
|
Description of the service. |
|
Indicates if the service should be enabled or disabled. Boolean flag. |
Example
updateServiceProfile('MobileJWTAuthentication','CLIENTREGHANDLE, ACCESSTOKEN,USERTOKEN','[]','/mobilejwtauthentication','MobileJWTAuthentication', 'Out Of The Box Mobile Java Web Token (JWT) Authentication Service Provider',true)
4.1.31 removeServiceProfile
The removeServiceProfile command is an online command that removes a service object.
Description
This command will remove a service object.
Syntax
removeServiceProfile(name)
where name
is the name of the service to be removed.
Example
removeServiceProfile('myService')
4.1.32 displayServiceProfile
The displayServiceProfile command is an online command that displays a service object.
Description
This command will display a service object.
Syntax
displayServiceProfile(name)
where name
is the name of the service profile to be displayed.
Example
displayServiceProfile('OAMAuthorization')
The following lines show sample output:
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
4.1.33 getServiceProfiles
The getServiceProfiles command is an online command that retrieves all service objects.
Description
Gets all the service objects.
Syntax
getServiceProfiles()
This command has no arguments.
Example
getServiceProfiles()
The following lines show sample output:
ServiceProfile: UserProfile1 ServiceProfile: OAMAuthenticatio ServiceProfile: sampleauthzservice ServiceProfile: JWTAuthentication ServiceProfile: UserProfile ServiceProfile: MobileOAMAuthentication ServiceProfile: OAMAuthentication ServiceProfile: MobileJWTAuthentication ServiceProfile: InternetIdentityAuthentication ServiceProfile: OAMAuthorization ServiceProfile: JWTAuthentication1
4.1.34 getApplicationProfiles
The getApplicationProfiles command is an online command that lists the ApplicationProfile objects.
Description
List the ApplicationProfile objects.
Syntax
getApplicationProfiles()
This command has no arguments.
Example
getApplicationProfiles()
The following lines show sample output:
Contract: MobileExpenseReport1 Contract: MobileAgent2 Contract: MobileBusinessTestApp01 Contract: MobileAgent1 Contract: profileid1 Contract: samplemobileapp2 Contract: profileid2 Contract: samplemobileapp1
4.1.35 createApplicationProfile
The createApplicationProfile command is an online command that creates an ApplicationProfile.
Description
Creates an ApplicationProfile.
Syntax
createApplicationProfile(paramList, mobileAppProfileStr, name, description)
Argument | Definition |
---|---|
|
A list of parameters for this Service specified in JSON format:
|
|
The mobile app profile string specified in JSON format: [{clientAppConfigParam:[{name:value},{name:value}], jailBreakingDetectionPolicyName:name}] |
|
Name of the IDaaS Client. |
|
Description of the IDaaS Client. |
Example
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')
4.1.36 updateApplicationProfile
The updateApplicationProfile command is an online command that updates an ApplicationProfile.
Description
Updates an ApplicationProfile.
Syntax
updateApplicationProfile(paramList, mobileAppProfileStr, name, description)
Argument | Definition |
---|---|
|
A list of parameters for this Service specified in JSON format:
|
|
The mobile app profile string specified in JSON format: [{clientAppConfigParam:[{name:value},{name:value}], jailBreakingDetectionPolicyName:name}] The value of clientAppConfigParam should match what is defined in the Administration Console on the "Application Profile Configuration Page." Items specified under the 'Configuration Settings' heading are set with the WLST 'clientAppConfigParam'. |
|
Name of the IDaaS (Identity as a Service) Client. |
|
Description of the IDaaS (Identity as a Service) Client. |
Example
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')
4.1.37 removeApplicationProfile
The removeApplicationProfile command is an online command that removes an ApplicationProfile.
Description
This command removes an ApplicationProfile.
Syntax
removeApplicationProfile(name)
where name
is the name of the ApplicationProfile to be removed.
Example
removeApplicationProfile('name')
4.1.38 displayApplicationProfile
The displayApplicationProfile command is an online command that displays the specified ApplicationProfile.
Description
This command displays the specified ApplicationProfile.
Syntax
dislayApplicationProfile(name)
where name is the name
of the ApplicationProfile to be removed.
Example
displayApplicationProfile('MobileAgent1')
The following lines show sample output:
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
4.1.39 createServiceDomain
The createServiceDomain command is an online command that creates a ServiceDomain.
Description
Creates a ServiceDomain.
Syntax
createServiceDomain(securityHandlerPlugin,serviceBindingList, clientAppBindingList,mobileAuthStyle,serviceDomainType,name,description)
Argument | Definition |
---|---|
|
The name of the securityHandlerPlugin. |
|
A list of the ServiceBinding objects in the format: [{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}] |
|
A list of client applications specified in the format: [{appName:UserProfile,mobileBinding: [{SSOinclusion:true,SSOpriority:4}] |
|
Mobile Authentication Style. |
|
The type of service domain. |
|
Name of the ServiceDomain. |
|
Description of the ServiceDomain. |
Example
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')
4.1.40 updateServiceDomain
The updateServiceDomain command is an online command that updates a ServiceDomain.
Description
Updates a ServiceDomain.
Syntax
updateServiceDomain(securityHandlerPlugin, serviceBindingList, clientAppBindingList, mobileAuthStyle, serviceDomainType, name, description)
Argument | Definition |
---|---|
|
The name of the SecurityHandlerPlugin. |
|
A list of the ServiceBinding objects in the format: [{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}] |
|
A list of client applications specified in the format: [{appName:UserProfile,mobileBinding: [{SSOinclusion:true,SSOpriority:4}] |
|
Mobile Authentication Style. |
|
The type of Service Domain. |
|
Name of the ServiceDomain. |
|
Description of the ServiceDomain. |
Example
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')
4.1.41 getServiceDomains
The getServiceDomains command is an online command that retrieves a ServiceDomain.
Description
Get a ServiceDomain.
Syntax
getServiceDomains()
This command has no arguments.
Example
getServiceDomain()
The following lines show sample output:
ServiceDomain: MobileServiceDomainUTReg ServiceDomain: MobileRPServiceDomain ServiceDomain: Contract1 ServiceDomain: MobileJWTServiceDomain ServiceDomain: MobileRPServiceDomainUTReg ServiceDomain: MobileContract ServiceDomain: Default ServiceDomain: MobileServiceDomain
4.1.42 removeServiceDomain
The removeServiceDomain command is an online command that removes a ServiceDomain.
Description
Removes a ServiceDomain.
Syntax
removeServiceDomain(name)
where name
is the name of the ServiceDomain to be removed.
Example
removeServiceDomain('name')
4.1.43 displayServiceDomain
The displayServiceDomain command is an online command that displays a ServiceDomain.
Description
Displays a ServiceDomain.
Syntax
displayServiceDomain(name)
Example
displayServiceDomain('name')
The following lines show sample output:
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
4.1.44 createSecurityHandlerPlugin
The createSecurityHandlerPlugin command is an online command that creates a SecurityHandlerPlugin.
Description
Creates a SecurityHandlerPlugin.
Syntax
createSecurityHandlerPlugin(securityHandlerClass, paramList, name, description)
Argument | Definition |
---|---|
|
Name of the security handler class. |
|
A list of parameters. |
|
Name of the SecurityHandlerPlugin. |
|
Description of the SecurityHandlerPlugin. |
Example
createSecurityHandlerPlugin( 'oracle.security.idaas.rest.provider.plugin.impl. DefaultMobileSecurityHandlerImpl',' [{allowJailBrokenDevices:false},{requiredHardwareIds:MAC_ADDRESS}, {requiredDeviceProfileAttrs:OSType OSVersion isJailBroken clientSDKVersion}]', 'DefaultSecurityHandlerPlugin','')
4.1.45 updateSecurityHandlerPlugin
The updateSecurityHandlerPlugin command is an online command that updates a SecurityHandlerPlugin.
Description
Updates a SecurityHandlerPlugin.
Syntax
updateSecurityHandlerPlugin(securityHandlerClass, paramList, name, description)
Argument | Definition |
---|---|
|
Name of the security handler class. |
|
A list of parameters. |
|
Name of the SecurityHandlerPlugin. |
|
Description of the SecurityHandlerPlugin. |
Example
updateSecurityHandlerPlugin('oracle.security.idaas.rest.provider.plugin.impl.DefaultMobileSecurityHandlerImpl','[{allowJailBrokenDevices:false},{requiredHardwareIds:MAC_ADDRESS},{requiredDeviceProfileAttrs:OSType OSVersion isJailBroken clientSDKVersion}]','DefaultSecurityHandlerPlugin','')
4.1.46 getSecurityHandlerPlugins
The getSecurityHandlerPlugins command is an online command that retrieves a SecurityHandlerPlugin.
Description
Gets a SecurityHandlerPlugin.
Syntax
getSecurityHandlerPlugins()
This command has no arguments.
Example
getSecurityHandlerPlugins()
The following lines show sample output:
SecurityHandlerPlugin: JunitDebugSecurityHandlerPluginSecurityHandlerPlugin: OaamSecurityHandlerPluginSecurityHandlerPlugin: DefaultSecurityHandlerPlugin
4.1.47 removeSecurityHandlerPlugin
The removeSecurityHandlerPlugin command is an online command that removes a SecurityHandlerPlugin.
Description
Removes a SecurityHandlerPlugin.
Syntax
removeSecurityHandlerPlugin(name)
where name
is the name of the SecurityHandlerPlugin to be removed.
Example
removeSecurityHandlerPlugin('name')
4.1.48 displaySecurityHandlerPlugin
The displaySecurityHandlerPlugin command is an online command that displays a SecurityHandlerPlugin.
Description
Displays a SecurityHandlerPlugin.
Syntax
displaySecrityHandlerPlugin(name)
where name
is the name of the SecurityHandlerPlugin to be displayed.
Example
displaySecurityHandlerPlugin('name')
4.1.49 createJailBreakingDetectionPolicy
The createJailBreakingDetectionPolicy command is an online command that creates a JailBreakingDetectionPolicy.
Description
Creates a JailBreakingDetectionPolicy.
Syntax
createJailBreakingDetectionPolicy(enabled, statementList, name)
Argument | Definition |
---|---|
|
Enabled. |
|
A list of parameters. |
|
Name of the JailBreakingDetectionPolicy. |
Example
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')
4.1.50 updateJailBreakingDetectionPolicy
The updateJailBreakingDetectionPolicy command is an online command that updates a JailBreakingDetectionPolicy.
Description
Updates a JailBreakingDetectionPolicy.
Syntax
updateJailBreakingDetectionPolicy(enabled, statementList, name)
Argument | Definition |
---|---|
|
Enabled. |
|
A list of parameters. |
|
Name of the JailBreakingDetectionPolicy. |
Example
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')
4.1.51 getJailBreakingDetectionPolicys
The getJailBreakingDetectionPolicys command is an online command that retrieves the JailBreakingDetectionPolicy.
Description
Gets the JailBreakingDetectionPolicy.
Syntax
getJailBreakingDetectionPolicys()
This command has no arguments.
Example
getJailBreakingDetectionPolicys()
The following lines show sample output:
JailBreakingDetectionPolicy: DefaultJailBreakingDetectionPolicy
4.1.52 removeJailBreakingDetectionPolicy
The removeJailBreakingDetectionPolicy command is an online command that removes a JailBreakingDetectionPolicy.
Description
Removes a JailBreakingDetectionPolicy.
Syntax
removeJailBreakingDetectionPolicy(name)
where name
is the name of the JailBreakingDetectionPolicy.
Example
removeJailBreakingDetectionPolicy('name')
4.1.53 displayJailBreakingDetectionPolicy
The displayJailBreakingDetectionPolicy command is an online command that displays a JailBreakingDetectionPolicy.
Description
Displays a JailBreakingDetectionPolicy.
Syntax
displayJailBreakingDetectionPolicy(name)
where name
is the name of the JailBreakingDetectionPolicy.
Example
displayJailBreakingDetectionPolicy('DefaultJailBreakingDetectionPolicy')
The following lines show sample output:
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