IOM API to reallocate applications?
I am trying to find a way to set or change the assignee who is responsible for approving the request.
I look in the following IOM API:
oracle.iam.api.OIMService
oracle.iam.request.api.RequestService
I was able to create a query using 'oracle.iam.api.OIMService' API, but I couldn't find a way to set the approver (default IOM, SYSTEM ADMINISTRATORS).
I know that IOM has a feature of the user interface to redirect a request to another user or group (photo attached for example). I would like to know if there is an API for this.
It is not the API of the IOM to reassign an application. You will need to use the API of SOA BPEL to reassign the tasks on the side of the SOA.
Code like this:
public void reassignTask() {}
List
Assignee ITaskAssignee = null; assignee = new TaskAssignee ("
Users.Add (assignee); int counter = 0; tasks of long [] = new long [] {
for (long task: task) {} counter ++; try {} System.out.println (counter + "|" + tasks.length + "\tReassigned:" + taskService.reassignTask (iWorkflowContextQuery, taskQueryService.getTaskDetailsByNumber (iWorkflowContextQuery, Integer.valueOf (String.valueOf (task))), users)); } catch (Exception e) {} System.out.println (e.getLocalizedMessage ()); } } } -Kevin
Tags: Fusion Middleware
Similar Questions
-
In the last day or two (8 August 2012) each time I start Firefox (14.01.01) I get a pop up that says "Google has disabled using the maps API for this application. He directs me to Google Maps terms & Conditions, but does not provide a solution to disable the pop up. I tried to disable Google Maps as an Add on Firefox, but still not the context menu.
It is easy to fix the problem or is this an attempt by Google to force me to Chrome, much like trying to crush Netscape in favour of Microsoft's Internet Explorer?I thought about it. It is not the browser itself. It happened that I had two pages that open when I started the browser (at home and at work) and it was one of them who had a Google map. They have had to fix their Web site.
Sorry Google, to think that you were an evil Empire! -
Try to export using IOM API via tcExportOperationsIntf
Hi all
I wrote a custom code for exports of components to IOM API Help and I am able to take exports from
Research, resources, process form and process definitions.
But I'm not able to export role, resource, Access Policy, policy on the approval and debugging has been established that
ExportOperationsIntf.findObjects (Type, Name); Returns null for role, resource, Access Policy, policy on the approval.
If I try to research role, resource, Access Policy, political approval using OOTB Deployment Manager export then I can see my components required, but the API, I am not able to do.
I tried to give the name as * DemoRole * and "TestDemoRole" [name], but it didn't work.
Fact ExportOperationsIntf.findObjects (Type, Name); data only works for resouce?
All the world is facing this problem?
IOM Env = 11.1.2.2.0
Thank you
Rahul
The categories should match while yours are slightly poorly named.
You can get a list of available categories using the following code snippet:
tcExportOperationsIntf = dm.getService (tcExportOperationsIntf.class) operations; Categories collection = operations.retrieveCategories (); for (String category: categories) System.out.println (Category); For reference, in OIM 11 g R2 PS2, the following categories may be used:
-CustomResourceBundle -eventhandlers -Form process -CertificationDefinition -Organization -RiskConfiguration -ITResource -NOTIFICATIONTEMPLATE -PasswordPolicy -RequestDataset -DataObjectDef -CertificationConfiguration -Metadata role -User group -PrepopAdapter -Process -Plugin -ITResourceDef -Resources -EmailDef -TaskAdapter -SystemProperties -ApplicationInstance -GenericConnector -GTCProvider -Rule -User metadata -CatalogDefinition -ApprovalPolicy -Job -Jar -Metadata Org -Search -Task -ErrorCode -
Can we use Adobe sign API in Windows applications?
Hello
Can we use Adobe sign API in Windows applications? When I use it in the browser he asks me to connect to the account and then give me the Code to get the access token.
But what if I'm not on the browser? I mean how can I use it with the Windows Applications?
Please help me.
Thank you
Hatwal Vinay
Hi Vinay,
Yes, you can use the integration with windows applications feature.
I see you are using Adobe sign to test with your e-mail address.
Please be informed the integration is available in Adobe Enterprise sign & developer account (stable).
-Adobe plans sign for individuals and businesses. Adobe Document Cloud
Or you can subscribe on behalf of the company.
Or test the integration with developer account (test account) Adobe sign, a Cloud Solution of Adobe documents .
Developer account only add "for demo" watermark to the document.
Integration of reference guide: reference Integration guides | Adobe sign
Feel free to contact us if you have queries or concern.
Kind regards
Nicos
-
Change password with IOM api using already defined password plocy: 11 G R2
Hello
When the user is created with a recon trust I want to change the password that is generated based on the default policy. With IOM api can generate the password by using a password Plocicy defined on IOM?
To be more clear, I want to do something like that;
1. download the strategy defined with IOM api
2. generate the password with it
3. configure the password generated recently in postporocess with the changePassword method eventhandler api IOM (this part I am able to do by the generation of password on my way, the thing I want is to generate the password using the phases 1 and 2)
Is this possible?
ARO
AliyeUse this method to check your generated password:
PasswordMgmtService validatePasswordAgainstDefaultPolicy()
Or
PasswordMgmtService validatePasswordAgainstPolicy()
http://docs.oracle.com/cd/E27559_01/apirefs.1112/e28159/oracle/iam/passwordmgmt/api/PasswordMgmtService.html#validatePasswordAgainstDefaultPolicy_char___oracle_iam_identity_usermgmt_vo_User__java_util_Locale_
-
IOM API: Unable to change roles with a t3 VIP
Hi all
We are facing a problem where we cannot change a user to Admin-> user via a t3 connection, which is defined on a F5 load balancer.
I was wondering if t3 passes session information in the application that we use AuthenticatedSelfService API calls to achieve this use case without having to log in again. Global trust has been activated among servers.
Architecture: 3 - IOM Cluster node
Version of IOM: 11.1.2.2.5
Use case:
(1) connection with 1 user with administrator privileges
2) change of user 2 user admin role
(3) Logout and now connect with user 2
(4) try to change 1 user to Admin-> user, receive following error:
< WARNING > < oracle.iam.platform.authopss.impl > < BEA-000000 > < 26 user does not have permission for deleteAdmin to the scope: 4 AdminRoleMembership = AdminRoleMembership [roleMembershipId = 34, userId = 46, customer = OrclOIMUserAdmin, scopeId = 4]>
This issue occur if we close 2 on 3 nodes. We already tried-
env.put (weblogic.jndi.WLContext.ENABLE_SERVER_AFFINITY, "true"); by http://docs.oracle.com/cd/E23943_01/web.1111/e13709/load_balancing.htm#CLUST180
to ensure that requests are served up to the server managed by IOM even since looks like this Native T3 load balancing is not really load balancing of API calls after that Initial context has been set by
http://docs.Oracle.com/CD/E24329_01/Web.1211/e24389/LOAD_BALANCE.htm#WLRMI265
Any suggestions would be much appreciated.
Hello!
have you tried to activate t3 tunneling over http?
-
IOM Login authentication fails when the IOM API call
Hello
We have a small custom application written to make the update of some attributes of the user on OIM. This app works great on the development system, as well as the test system. However, when you run the program on the live system, it generates the error below. Please note that we use the IOM 11.1.1.5, test and production are under linux, while the development system is running windows 7. The test system is a single instance, while IOM in a production environment is clustered. Quick response will be very useful.
We checked the path provided for authwl.conf and that's okay. Here is the thrown error:
oracle.iam.platform.utils.NoSuchServiceException: java.lang.reflect.InvocationTargetException
at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:197)
at oracle.iam.platform.OIMClient.getService(OIMClient.java:174)
at oracle.iam.platform.OIMClient.loginSessionCreated(OIMClient.java:209)
at oracle.iam.platform.OIMClient.login(OIMClient.java:136)
at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
at com.infotech.tra.organization.RoleAssignment.updateUserAttributes(RoleAssignment.java:274)
at com.infotech.tra.organization.RoleAssignment.main(RoleAssignment.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:193)
... 11 more
Caused by: oracle.iam.platform.utils.NoSuchServiceException: javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: user: weblogic, could not be authenticated.]
to oracle.iam.platformservice.api.ClientLoginSessionServiceDelegate. < init >(Unknown Source)
... 16 more
Related: javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: user: weblogic, could not be authenticated.]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:42)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:788)
at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:682)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:469)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:376)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
to javax.naming.InitialContext. < init > (InitialContext.java:197)
at org.springframework.jndi.JndiTemplate.createInitialContext(JndiTemplate.java:114)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:86)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:130)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:155)
... more than 17
Caused by: java.lang.SecurityException: user: weblogic, could not be authenticated.
at weblogic.common.internal.RMIBootServiceImpl.authenticate(RMIBootServiceImpl.java:116)
at weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke (unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
to weblogic.rmi.internal.BasicServerRef$ 1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)There was incorrect values in the jndi.properties file causing problems. After the correction of the connection of IOM file worked properly.
-
Code to get the data in the child table in composite SOA using the IOM APIs
Hi all
I am a new bie to IOM. I have a query related to obtaining data in the child table using the API of the IOM in the task of embeded java SOA composite.
I've created a workflow that has a form of child of providing service of slef. I created a composite SOA custom also approval. In the composite approval I have embedded java code and I want to get the values entered in the child form using the API IOM inot the java code embeded in composite SOA.
I tried gettting the child form data by using getChildAttributes(), but I'm getting the following exception.
The local Exception stack:
Exception [EclipseLink-7242] (Eclipse - 2.1.3.v20110304 persistence Services - r9073): org.eclipse.persistence.exceptions.ValidationException
Description of the exception: an attempt was made to navigate a relationship using indirection that had a null Session. This often happens when an entity has a relationship of LAZY not instantiated is serialized and this lazy relationship is crossed after serialization. To avoid this problem, instantiate the LAZY relationship before serialization.
at org.eclipse.persistence.exceptions.ValidationException.instantiatingValueholderWithNullSession(ValidationException.java:994)
at org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder.instantiate(UnitOfWorkValueHolder.java:218)
at org.eclipse.persistence.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:83)
at oracle.iam.request.vo.RequestBeneficiaryEntityAttribute.getChildAttributes(RequestBeneficiaryEntityAttribute.java:100)
to com. CASApproval.main (CASApproval.java:137)
Please suggest me if I'm following the correct procedure of the child form data or if we can use another approach.
Can we get the data using formInstanceOperationsIntf.getProcessFormChildData ().
Thanks in advance for the help.
Thank you
PTWhen you're in approvals, there is no form of process data. Process form data would come only when approvals are completed. If you want to read data from the child form of the DataSet (i.e. the form object as in OIM9.x) you can use the RequestService on the id of the request and read the data. Or another approach would be to the child the dataset data value in the payload of the request and read the XML payload in the composite.
Let me know if you need more information about the second approach. As for the first approach, search through the forums here and you should find my previous posting on how to reach child dataset values using the ask service API.-Marie
Found these for you:
OIM11G: Way to get values from dataset of the application for approval
Re: How to get the value of the AD details of payload of SOA user group -
Object instantiation of IOM API tcUtilityFactory
Hi all
I am trying to open the object of tcUtilityFactory in the following way:
================
System.setProperty ("XL. HomeDir"," C:/Oracle/OIM_DC/xlclient");
System.setProperty ("java.security.policy", "C:/Oracle/OIM_DC/xlclient/Config/xl.policy");
System.setProperty ("java.security.auth.login.config", "C:/Oracle/OIM_DC/xlclient/Config/auth.conf");
System.setProperty ("java.naming.provider.url", "t3://weblogic1.domain.com:7001");
System.setProperty ("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory");
Config ConfigurationClient.ComplexSetting = ConfigurationClient.getComplexSettingByPath ("Discovery.CoreServer");
System.out.println ("login...");
Hashtable env = config.getAllSettings ();
tcUtilityFactory ioUtilityFactory = new tcUtilityFactory (env, "xelsysadm", "Oracle123");
================
and to get the output on the following all current run/debug console:
================
C:/Oracle/OIM_DC/xlclient
C:/Oracle/OIM_DC/xlclient/config/XL. Policy
C:/Oracle/OIM_DC/xlclient/config/auth.conf
T3://weblogic1.domain.com:7001
weblogic.jndi.WLInitialContextFactory
Starting...
Get the configuration...
Opening session...
log4j: WARN no appenders could be found for logger (XELLERATE. ACCOUNTMANAGEMENT).
log4j: WARN Please initialize log4j correctly system.
Thor.API.Exceptions.tcUserAccountInvalidException
at Thor.API.tcUtilityFactory.createLoginException (unknown Source)
to Thor.API.tcUtilityFactory. < init >(Unknown Source)
at FirstAPITest.main (FirstAPITest.java:33)
================
I use Eclipse and followed all the steps mentioned in the thread - new to the coding in IOM
that is, I'm assuming since the Metalink I see the same info in a metalink doc.
Please let me know if I am missing some step.
Thank youIn my view, what is of weblogic application server
Make following changes:
C:/Oracle/OIM_DC/xlclient/config/auth.conf
C:/Oracle/OIM_DC/xlclient/config/authwl.conf
-
Audit/admin API for cloud applications
Hello
I'm looking for admin API for cloud Oracle, including Oracle ERP applications.
I'm looking for APIs such as connection events, management of users (user added, deleted, suspension etc), authentication sessions and so on.
I enjoy all help direct me to these APIs, if they exist.
Thank you
Nimrod
Wrong forum - try asking on the forum that pertains to the specific app you use.
-
Examine the properties of system outside the IOM/API
Hello
following an alleged error in the system properties of the IOM (11 g Rs PS2, BP04) that prevents the IOM to start properly, I'm trying to find a way to look at all the properties of the system. However, I don't know where to look for them.
From my understanding, they cannot be in the DB (which schema, what table?) or the MDS, otherwise they would not accessible in a clustered environment.
Are there clues about that?
Thank you
C
The IOM system properties appear in the table the user XXX_OIM PTY.
There are other properties for the application server that are in the MDS repository in the location /file/oim-config.xml which are also accessible from the Enterprise Manager console in time grain system run.
-Kevin
-
IOM, API - getData() - no data is not returned by the user account
Hi all
I have a question for the AD account data. The problem is when I try to get the account data from any account (account status: enabled, the account Type: primary), the API GetData returns a blank card and I don't know why. I see this account in the accounts of the user to the IOM. This account has been created through reconciliation of AD and this account is only one (primary and active).
In the test environment my code works very well, but production only.
Here is part of my code where I get some details of account.
...
accounts = provServ.getAccountsProvisionedToUser (take);
Logger.Finest ("getUsersToTheLookupTask-> user Details - take:" + take + ", DisplayName:" + userDisplayName);
Iterator it = accounts.iterator ();
{while (IT.hasNext ())}
Account ad_account = (Account) it.next ();
If (ad_account.getAppInstance () .getApplicationInstanceName () .equalsIgnoreCase (appInstName) & & ad_account.getAccountType () .equals (Account.ACCOUNT_TYPE.) (Primary)) {}
Logger.Finest ("getUsersToTheLookupTask-> AppInstance ApplicationInstanceName:" + ad_account.getAppInstance () .getApplicationInstanceName ());
Logger.Finest ("getUsersToTheLookupTask-> AppInstance DisplayName:" + ad_account.getAppInstance () .getDisplayName ());
Logger.Finest ("getUsersToTheLookupTask-> AccountDescriptiveField:" + ad_account.getAccountDescriptiveField ());
Logger.Finest ("getUsersToTheLookupTask-> getAccountID:" + ad_account.getAccountID ());
String UtilisateurDN = getADUserDN (appInstName, take);
AccountData accountdata = ad_account.getAccountData ();
Map < String, Object > accdata = accountdata.getData (); //THIS RETURN EMPTY map < String, Object >! And I don't know why!
Logger.Finest ("--> account data:" + accdata);
String userOrg = accdata.get("UD_ADUSER_ORGNAME").toString ();
String userCN = accdata.get("UD_ADUSER_COMMONNAME").toString ();
Logger.Finest ("-> CN an ORG:" + userOrg + "-" + userCN);
userOrg = userOrg.substring (userOrg.indexOf ("OR ="));
String UtilisateurDN = "CN =" + userCN + "," + userOrg;
Logger.Finest ("getUsersToTheLookupTask-> pair key / value:" + UtilisateurDN + ":" + userDisplayName);
userMap.put (UtilisateurDN, userDisplayName);
}
}
...
You have an idea why I'm not able to get user account data?
Thank you!
Milan
Fact.
The following API does not return the AccountData in the AccountVO. Old API IOM at 11.1.2.0 in 11.1.2.1 IOM Yes.
accounts = provServ.getAccountsProvisionedToUser (take);
If you need obtain account data, use:
Acccriteria SearchCriteria = new SearchCriteria (ProvisioningConstants.AccountSearchAttribute.APPINST_KEY.getId (), "*", SearchCriteria.Operator.EQUAL);
accounts = provServ.getAccountsProvisionedToUser (take, acccriteria, null, true);
...
AccountData accountdata = ad_account.getAccountData ();
Card
accdata = accountdata.getData (); GetData returns then map of attributes as I expected.
-
IOM API to create or update a task to a process definition?
I was watching the tcWorkflowDefinitionOperationsIntf and I noticed that there is a updateWorkflow() method. I would like to add or update a task for a given workflow.
Is it still possible?
An example of the updateWorkflow() method would be nice. I tried several times, but the workflow updated the in I'm not updated.
I am logged in as xelsysadm to the customer of the IOM and isWorkflowUpdatePermitted() return true, this isn't an issue of privilege.
class tcWorkflowDefinitionOperationsIntf: http://docs.oracle.com/cd/E17904_01/apirefs.1111/e17334/toc.htmThis API does not seem to work on the definition of the process. I have a solution by changing the metadata. Just use the Deployment Manager to export the xml file, edit and then import the xml file updated the IOM.
-
IOM API to add fields Recon to resource object?
In the console of design under the management of resources-> resources-> object reconciliation objects, I am able to add fields of reconciliation to a specific resource object. I would like to make using Java. After poking around the API of the IOM, I can't have this method. Is there an API of the IOM to add fields of reconciliation to a resource object?
Here are my findings:
In the class "tcObjectOperationsIntf", I see "getReconciliationFields(long plObjectKey)". It annoys me all the recognized fields for a specific resource object.
In the class "tcFormDefinitionOperationsIntf", I see "addReconDataFlow (long plProcessKey, long plObjectKey, java.lang.String sourceKey, java.lang.String targetName, boolean isKeyField). This allows me to define a mapping between a label field as a process and a recognised field.You will either need to export the XML file, then edit it, then reimport or devote the time necessary to create once in the java client.
-Kevin
-
List to get the task awaiting the user through IOM API - 11 G R2
Hello
IOM user page, we can access tasks pending for approval. Can I get this data using the IOM fubctions APIs? Any help is greatly appreciated...
BR,
AliyeLink below can be used as an example of code
http://Srini-bellamkonda.blogspot.in/2012/11/approve-pending-requests-using-API-in.html
Maybe you are looking for
-
Advice on upgrading to El Capitan
A combination of inertia and the dislike of change kept me from the reclassification of Yosemite to El Capitan, but now that Sierra is on the horizon, I think I should make the trip. I use 3.1 GHz iMac bought in February 2015 with 16 GB of memory. S
-
HP-15-ay036nl: HP-15-ay036nl max ram capacity
What is the capacity of ram Max of HP-15-ay036nl Processore Intel® Core™ i5-6200U (2.3/2.8 GHz, 3MB L3)? Why isn't this information in the pdf instruction manual? Thank you
-
Impossible to activate Bluetooth in HP8440p
I use HP EliteBook 8440p, with Windows 7 Professional. I installed the Bluetooth driver downloaded from HP but the Wireless Assistant always shows my Bluetooth like disable, I can not activate and the caption to say "this device has been disabled in
-
error message that the ink cartridges are not compatible
I recently bought a HP Deskjet 1000 and installed and the cartridges that came with the printer do not work. It keeps giving me the error that they are not compatible with the way in which the printer is installed. I followed all the instructions an
-
I got mine a computer problem cannot detect a NVIDA drvers is a problem because it is installed on the computer of mine also, I'd like to update my video/display drivers but not allows me to do