Peoplesoft - OIM via SPML - howto?
G'day.
I have Peoplesoft "HRMS and Campus Solutions 9.00.00.000" Tools release "8.48.15"
I also have Oracle Identity Management (OIM) version 9.1.
I want to be table to 'hire' someone in PS and have them appear in OIM, with updates from PS being replicated down to OIM (and changes in OIM replicated back to PS - but that is optional, at this stage).
I have found the 'connectors' in OIM but they appear to be going in the wrong direction, unless I am mistaken.
Can PS generate SPML provisioning into OIM?
Can someone point me to a step by step 'howto'?
Any assistance would be greatly appreciated.
...Lyall
Maybe not using SPML, but creating users in OIM and keeping them up to date (PS being a source of truth).
...Lyall
Similar Messages
-
Adding Users in OIM using SPML
Hi,
In our project we have a requirement where we have to create a user in OID/OIM. The existing code connects to OIMProvisioning using SPML to search, add and modify users. In SPML we couldn’t find any basedn being set while adding user or searching for user.
a. It would be helpful if someone who has knowledge on OID/OIM and SPML to let me know how to query or add users in a specific BaseDN using SPML.
b. I would like to know if it is possible to update both OID and OIM using SPML.
Regards
PhilipIt may help you:
http://www.youtube.com/watch?v=7C8cI5zc1DM -
OIM 11g SPML Client - InvalidSecurity : error in processing the WS-Security
Hi,
Has anyone had any success creating a SPML client for interfacing with OIM 11g?
I used xelsysadm to login, but every time it errors, doesn't matter what SPML service i invoke, e.g.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" >
<soap:Header>
<ns1:Security>
<ns1:UsernameToken>
*<ns1:Username>xelsysadm</ns1:Username>*
*<ns1:Password>Passw0rd</ns1:Password>*
</ns1:UsernameToken>
</ns1:Security>
</soap:Header>
<soap:Body xmlns:ns1="urn:oasis:names:tc:SPML:2:0">
*<ns1:listTargetsRequest />*
</soap:Body>
</soap:Envelope>
---> Errors
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault
xmlns:ns0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<faultcode>ns0:FailedCheck</faultcode>
<faultstring>FailedCheck : failure in security check</faultstring>
<faultactor/>
</env:Fault>
</env:Body>
</env:Envelope>
any suggests or code much appreciated.Prakash Gupta wrote:
You just have to add "?wsdl" at the end of String URLThanks for the reply, I tried that one, I'm getting the InvalidSecurity error, see below
<env:Fault xmlns:ns0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<faultcode>ns0:InvalidSecurity</faultcode>
*<faultstring>InvalidSecurity : error in processing the WS-Security security header</faultstring>*
<faultactor></faultactor>
</env:Fault>
I'm assuming this has something to do with the WS-Security setting. I used Microsoft WCF (WSHttpBinding) to consume the service,
see the code below
WSHttpBinding oimBinding = new WSHttpBinding();+
oimBinding.Security.Mode = SecurityMode.Message;
oimBinding.ReliableSession.Enabled = true;
oimBinding.TransactionFlow = false;
oimBinding.Security.Message.ClientCredentialType = MessageCredentialType.UserName;
EndpointAddress oimEndpoint = new EndpointAddress("http://169.254.248.95:14000/spml-xsd/SPMLService?WSDL");*
oimBinding.MaxReceivedMessageSize = Int32.MaxValue;
_oimServiceChannel = new ChannelFactory<SPMLRequestPortTypeChannel>(oimBinding, oimEndpoint);+
oimServiceChannel.Credentials.UserName.UserName = loginUser;+
oimServiceChannel.Credentials.UserName.Password = loginPassword;+
+SPMLRequestPortTypeChannel target = _oimServiceChannel.CreateChannel();+
target.SPMLListTargetsRequest(new SPMLListTargetsRequestInput());+
I'm not sure if WCF would make any difference in consuming a webservice... any way if you have any idea, code snipets much appreicated. -
PeopleSoft Reconciliation via Compent Interface
All,
I would like to know if anyone has performed reconciliation using the PeopleSoft Component Interface Adapter in IdM 6.0 or IdM 6.0 SP1.
Would like to get an idea of what the performance is when reconciling at high volumes (e.g. 100,000 - 600,000 records). Also, would like to konw if anyone has tried reconciling via the Database Table Adapter against a DB2 PeopleSoft person table with the same record load and if the performance was better, if so, by how much.
Please let me know if I can provide more details.
Thanks,hi
check out whether this path can help you
Time Management --> Integrating Time Management with Other SAP Applications --> Define External Application for Integration with Personnel Time Management -
Error while connecting to OIM via Jdeveloper
Hi,
I am getting the below error while executing simple search code. I am executing this code from Jdeveloper 11.1.2.2 and trying to connect to OIM 11gR1 BP04. SOPs shows, I am able to connecto to OIM, however while trying to search users below errors are thrown. I am not sure if it is code issue or firwall/proxy server issue. Any pointers would help.
Error
Creating client....
Logging in
log4j:WARN No appenders could be found for logger (org.springframework.jndi.JndiTemplate).
log4j:WARN Please initialize the log4j system properly.
java.lang.reflect.InvocationTargetException
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 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.oracle.idm.utilities.OIMUserSearch.init(OIMUserSearch.java:43)
at com.oracle.idm.utilities.OIMUserSearch.main(OIMUserSearch.java:53)
Caused by: java.lang.NoSuchMethodError: oracle.iam.platform.auth.util.ClientContextSetter.setClientIPAddress(Ljava/lang/String;)V
at oracle.iam.platformservice.api.ClientLoginSessionServiceDelegate.loginSessionCreated(Unknown Source)
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 Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
at $Proxy1.loginSessionCreated(Unknown Source)
... 9 more
Log in successful
Getting user list...
Service Obtained.
Perfoming search*
Exception in thread "main" java.lang.NoSuchMethodError: oracle.iam.platform.auth.util.ClientContextSetter.setClientIPAddress(Ljava/lang/String;)V
at oracle.iam.identity.usermgmt.api.UserManagerDelegate.search(Unknown Source)
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 Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
at $Proxy3.search(Unknown Source)
at com.oracle.idm.utilities.OIMUserSearch.getUserLogin(OIMUserSearch.java:99)
at com.oracle.idm.utilities.OIMUserSearch.main(OIMUserSearch.java:56)
Process exited with exit code 1.
code
System.out.println("Creating client....");
String ctxFactory = "weblogic.jndi.WLInitialContextFactory";
String serverURL = "t3://10.87.148.171:14000";
String username = "xelsysadm";
String password = "*****";
Hashtable env = new Hashtable();
env.put(OIMClient.JAVA_NAMING_FACTORY_INITIAL,ctxFactory);
env.put(OIMClient.JAVA_NAMING_PROVIDER_URL, serverURL);
oimClient = new OIMClient(env);
System.out.println("Logging in");
oimClient.login(username, password.toCharArray());
System.out.println("Log in successful");
System.out.println("Getting user list...");
List<String> userLogins = new ArrayList<String>();
UserManager usrService = oimClient.getService(UserManager.class);
System.out.println("Service Obtained.");
Set<String> retAttrs = new HashSet<String>();
retAttrs.add(UserManagerConstants.AttributeName.USER_LOGIN.getId());
SearchCriteria criteria = new SearchCriteria("First Name", FIRST_NAME2SEARCH, SearchCriteria.Operator.EQUAL);
List<User> users = null;
try {
System.out.println("Perfoming search");
users = usrService.search(criteria, retAttrs, null); // Getting error at this point.
System.out.println("Search completed.");
} catch (UserSearchException e)Hi Nishith,
All the mentioned jars were already present in classpath.
Also, changed the code (pasting below). Interestingly, Login seems to happen but, at the time of user search, it is throwing error. Is the error suggesting something wrong with proxy setting?
New code:
List logins = null;
System.out.println("Creating client....");
String ctxFactory = "weblogic.jndi.WLInitialContextFactory";
String serverURL = "t3://10.87.148.171:14000";
String username = "xelsysadm";
String password = "*******";
Hashtable env = new Hashtable();
env.put(OIMClient.JAVA_NAMING_FACTORY_INITIAL,ctxFactory);
env.put(OIMClient.JAVA_NAMING_PROVIDER_URL, serverURL);
System.setProperty("java.security.auth.login.config", "D:\\Oracle\\Middleware\\OIM_DC\\designconsole\\config\\authwl.conf");
System.setProperty("OIM.AppServerType","wls");
System.setProperty("APPSERVER_TYPE", "wls");
oimClient = new OIMClient(env);
System.out.println("Logging in");
oimClient.login(username, password.toCharArray());
System.out.println("Log in successful");
System.out.println("Getting user list...");
List<String> userLogins = new ArrayList<String>();
UserManager usrService = oimClient.getService(UserManager.class);
System.out.println("Service Obtained.");
Set<String> retAttrs = new HashSet<String>();
retAttrs.add(UserManagerConstants.AttributeName.USER_LOGIN.getId());
SearchCriteria criteria = new SearchCriteria("First Name", FIRST_NAME2SEARCH, SearchCriteria.Operator.EQUAL);
List<User> users = null;
System.out.println("Perfoming search");
users = usrService.search(criteria, retAttrs, null);
System.out.println("Search completed.");
for (int i = 0; i < users.size(); i++) {
userLogins.add(users.get(i).getLogin());
System.out.println(users.get(i).getLogin());
System.out.println("Completed...");
Error
Creating client....
Logging in
log4j:WARN No appenders could be found for logger (org.springframework.jndi.JndiTemplate).
log4j:WARN Please initialize the log4j system properly.
java.lang.reflect.InvocationTargetException
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 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.oracle.idm.utilities.OIMUserSearch.main(OIMUserSearch.java:59)
Caused by: java.lang.NoSuchMethodError: oracle.iam.platform.auth.util.ClientContextSetter.setClientIPAddress(Ljava/lang/String;)V
at oracle.iam.platformservice.api.ClientLoginSessionServiceDelegate.loginSessionCreated(Unknown Source)
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 Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
Log in successful
Getting user list...
at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
at $Proxy1.loginSessionCreated(Unknown Source)
... 8 more
Service Obtained.
Perfoming search
java.lang.reflect.InvocationTargetException
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 oracle.iam.platform.OIMClient.loginSessionDestroyed(OIMClient.java:225)
at oracle.iam.platform.OIMClient.logout(OIMClient.java:154)
at com.oracle.idm.utilities.OIMUserSearch.main(OIMUserSearch.java:84)
Caused by: java.lang.NoSuchMethodError: oracle.iam.platform.auth.util.ClientContextSetter.setClientIPAddress(Ljava/lang/String;)V
at oracle.iam.platformservice.api.ClientLoginSessionServiceDelegate.loginSessionDestroyed(Unknown Source)
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 Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
at $Proxy1.loginSessionDestroyed(Unknown Source)
... 7 more
Exception in thread "main" java.lang.NoSuchMethodError: oracle.iam.platform.auth.util.ClientContextSetter.setClientIPAddress(Ljava/lang/String;)V
at oracle.iam.identity.usermgmt.api.UserManagerDelegate.search(Unknown Source)
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 Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
at $Proxy3.search(Unknown Source)
at com.oracle.idm.utilities.OIMUserSearch.main(OIMUserSearch.java:71)
Released resources
Process exited with exit code 1.
If you look at the system.out.println statements, it looks like, code is able to get OIM handle, but failing while search API is called.
Any pointers you would like to highlight? Note that, am using OIM 11g R1 BP4 and running the code from Jdeveloper 11.1.2
Thanks.
Edited by: Raghu Honawad on Nov 20, 2012 3:18 AM -
Sending commands via SPML to Portals UME...
I am attempting to find a way (ideally without using XI) to send Indentity management information/commands to the Portals UME.
SAP's Security and Identity Management .pdf document mentions that I can use the following URL address for servicing the SPML:
<server>:<port>/spml/spmlservice.
I guess I just wanted to ask whether anyone has used this method and whether there are any surprises in store. Also, I'm not entirely sure, yet, how I can fire off this SPML to this address so any advice would be most welcome. One source has informed me that I need to use the Class/interface CL_HTTP_CLIENT, but another was talking another language to me mentioned in SAAJ and SOAP messages. As you can see I do need advice.
Regards
Gary KingI don't suppose you know of an example of this that may exist in a demo program, do you.
I am aware of the method CL_HTP_CLIENT=>CREATE_BY_URL but I'm entirely sure this can be used for this purpose.
Regards
Gary -
Enabling PeopleSoft Adapter via sacmd getting error
This is really a BIG issue for us right now, and I already have an open case for it, just wondering if anyone has ever gotten this error using sacmd to enable a PeopleSoft Adapter:
TES SA Command Console (Version 6.1.0.267).
SACmd>agent -C MODIFY -n HRDEV-PSUNX -e Y
TES_003008:The specified port [null:null] is already in use. Completed at 09/01/2013 11:46 PM
I get this errors as well even then I run the command outside of Tidal directly in the Unix prompt.
The disable seem to work well enough. I use the persist parm.Cisco has fixed this issue on hotfix 353 and we confirmed that it works now. Apparently the port already in use was something they were making a hard error when it was an acceptable condition.
-
Netflix on linux via pipelight : howto
Relevant info : http://fds-team.de/cms/articles/2013-08 … wsers.html
Install this https://aur.archlinux.org/packages/pipelight
one of the dependencies is https://aur.archlinux.org/packages/wine-silverlight (a patched version of wine with silverlight support) which is not the fastest compile in the world but can't be helped.
* Please ensure you close firefox before you install this package, or you might run into this issue : https://answers.launchpad.net/pipelight/+faq/2357
Once you're done with this, there are two more steps that you need to do :
1) Initialize the plugin for the first time by running /usr/share/pipelight/wine-silverlight5.1.installer. You don't need to change permissions or use sudo for this. Ignore the wine warnings that pop up, just click through.
2) Change the user string of your browser as described here : https://answers.launchpad.net/pipelight/+faq/2351. This is required because even though you are now capable of running netflix, netflix won't stream if it detects you are on linux.
That is all you need to do. You can verify that the plugin was installed correctly even before change user agent by visiting this page : http://bubblemark.com/sl3/TestPage.html
Enjoy !Hi, I'm interested on this. Could someone report quality, cpu process, mem, etc? I'm working right now and cannot probe by myself. Probably I'm going to affiliate to NEtflix next week if this works as Windows version. . .
Thanks in advance -
Accessing peoplesoft portal via internet, outside of your org network
Hi,
I want one component of HRMS to be able to be accessed outside of the network over the internet.
It would be great if someone could give the steps needed to achieve this.
PeopleTools 8.48
Thanks,Hi Saurabh,
it is bit complicated.
As you Expose FQDN is different and you internal FQDN is different , you have to make some workaround.
Follow below steps.
1.
The system which you have created on EP for calling backend system , you have make changes all in that.
Changes mean every where in system where you have maintain the host name portal.server.com has to be replace by static.ip.com , by this changes when you will call the BSP from portal, it will redirect to http://static.ip.com:8000/sap/bsp/bc/sap/zbsp/default.html
2.
Now the problem is that when you will try access the portal from you internal network through URL :- http://portal.server.com:50000/irj/portal and when you will click on BSP , it will indirectly go to internet to resolve the URL :- http://static.ip.com:8000/sap/bsp/bc/sap/zbsp/default.html which is becuase we have made chnages in the system above.
From internal network if you have to resolve URL http://static.ip.com:8000/sap/bsp/bc/sap/zbsp/default.html then you have to make the entry in host file which is like below
static.ip.com 123.123.123.123
From above workaround your URL will resolve from internet as well as from your internal network.
This is all becauase you have dual stack , you have difference in FQDN.
Any query pls reply.
Thanks
Anil
Edited by: Anil Bhandary on Oct 13, 2009 2:50 PM -
Hi,
I am looking for the capabilities of OIM 11g SPML webservice but couldnt find the details. Can any one let me know if SPML webservice supports request based provisioning operation?
Thanks in Advance.You can use OOTB SPML. Only issue with OOTB SPML is that it doesn't support reconciliations. You would need to add custom webservices for this.
Regards,
GP -
SPML Webservice OIM 11g - Urgent
Hi All,
I would need to create/update/delete user in OIM using SPML Webservice.
Please help in providing the steps to do this.
I have gone through the OIM11g documentation, but haven't got any steps to deploy webservice.
It would be great if someone can provide sample code for this.
Thanks in Advance,
ragAny suggestions please..!!!
Experts please reply... -
Missing SPML Search Services in 11g
OIM 10g had some some SPML services to perform searches. This is documented at:
http://download.oracle.com/docs/cd/E14899_01/doc.9102/e14763/spml.htm#sthref92
These services seem to be missing (or have moved) in OIM 11g, 11.1.1.3.0.
Any idea what happened? Is there still a way to do a search against OIM 11g via SPML services?
Thanks
Aspi Engineer
Putnam InvestmentsThey are not available in SPML. They moved to IGF/CARML, this is available starting with 11.1.1.4 . Kind of a big change but then who uses SPML anyway
http://download.oracle.com/docs/cd/E21764_01/oim.1111/e16588/toc.htm -
User Creation at the time of Self Registration not via Admin (xelsysadm)
Hello there,
I had a question related to User Creation in OIM via Self Registration (Create Request) and via "xelsysadm" itself creating one user via the web console.
Can I do this -
When a user does self registration then how can I directly create a user in OIM?
Right now: the user's request needs to be approved by xelsysadm first and then only that user can login into OIM and then only that user can be seen in OIM - I want to remove the "xelsysadm" gateway of approving the request.
I want that user directly to be present in the OIM as soon as he/she fills out it's information in the self registration pages. How can we do this?
Also, I want an email to be sent to the user to its email ID that he/she provided at the time of self regn containing its User ID and password in it from the xelsysadm email id. How can I do that?
TIA for the help,
- oidm.Hi oidm
User Registration is R.O. which used for User Self Registration.
But if you see it carefully, there's no Approve Task (not workflow) in it.
It has three task
1) SV
2) PI
3) AAD
And if you see the request while approval it shows Awaiting Approval Data means it stuck in AAD.
Try to modify this, I can't as I don have any extra machine with. Try to modify this. It may not allow you to update it, you'll have to change its security level in Database level.
*Awaiting Approval Data System Administrator [XELSYSADM] Pending*
I hope it helps you to start R n D. -
Error while initializing OIM API in 11G
I am trying to deploy a webservice exposing some of the OIM API's in 11G[11.1.1.5]. I am using the OIMClient API to initialize the API's. The following code works fine when I run with in the eclipse but doesnt work when it is deployed on the weblogic server[10.3.5]. This is a standalone server where no other web app is deployed. Has anyone faced this issue before. Any pointers on this would be helpful. Thnaks in advance.
System.setProperty("java.security.auth.login.config", "./authwl.conf");
Hashtable<String, String> env = new Hashtable<String, String>();
env.put(OIMClient.JAVA_NAMING_PROVIDER_URL, providerURL);
env.put(OIMClient.JAVA_NAMING_FACTORY_INITIAL, OIMClient.WLS_CONTEXT_FACTORY);
oimClient = new OIMClient(env);
oimClient.login(userName, password.toCharArray());
The exception is :
java.lang.IllegalArgumentException: No Configuration was registered that can handle the configuration named xellerate
java.lang.IllegalArgumentException: No Configuration was registered that can handle the configuration named xellerate
at com.bea.common.security.jdkutils.JAASConfiguration.getAppConfigurationEntry(JAASConfiguration.java:130)
at javax.security.auth.login.LoginContext.init(LoginContext.java:243)
at javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(weblogicLoginHandler.java:58)
at oracle.iam.platform.OIMClient.login(OIMClient.java:134)
at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
at au.com.suncorp.oim.custom.spml.SuncorpOIMOperations.getInitializedOIMClient(SuncorpOIMOperations.java:113)
at com.suncorp.test.oim.custom.spml.OIMWebServiceSoapBindingImpl.identitySearchByName(OIMWebServiceSoapBindingImpl.java:41)
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.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Edited by: vindla on 16-Feb-2012 01:10
Edited by: vindla on 16-Feb-2012 01:141) please ensure that the war file which you deploy in WLS is pointing to the authwl.conf file on the machine hosting the war.
2) apart from that make sure you have the following jars added to the calss path or added to the lib folder of the war.
commons-logging-1.1.1.jar;
oimclient.jar;
spring.jar
try removing extra libraries and jars from the war file. it sometimes give errors.
i have done exactly the same thing and it works fine.
rest it looks fine
======code snippet====
System.setProperty("java.security.auth.login.config","/path/authwl.conf");
System.setProperty("OIM.AppServerType", "weblogic");
env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
env.put(Context.PROVIDER_URL, "t3://host:14000/oim");
try {
oimClient.login("xelsysadm", "password");
} catch (LoginException e) {
e.printStackTrace();
OIMClient oimClient = new OIMClient(env); -
Setting default password to all the users in OIM
Hi ,
I want to set the default password for all the users provisioning in OIM via trusted recon.
Please let me know how to achieve this.
Thanksin MDS(eventhandler.xml) provide operation=CREATE else in code you can check the same if(operation.equals("CREATE"))
find below complete code this is tested and working fine
public EventResult execute(long processId, long eventId, Orchestration orchestration) {
UserManager um =null;
isLoggerInfoEnabled = logger.isInfoEnabled();
if(isLoggerInfoEnabled)logger.info("execute: processId = " + processId + "; eventId = " + eventId + "; orchestration = " + orchestration);
HashMap<String, Serializable> parameters = orchestration.getParameters();
logger.info("parameters = " + parameters );
RandomPasswordGeneratorImpl randomPasswordGenerator = new RandomPasswordGeneratorImpl();
char new_pwd[] = randomPasswordGenerator.generatePassword(new User(null));
String password = new String(new_pwd);
try{
um = Platform.getService(UserManager.class);
String userLogin= getParamaterValue(parameters, "User Login");
um.changePassword( userLogin, password.toCharArray(), true);
}catch (Exception e) {
if(logger.isErrorEnabled()) logger.error(e.getMessage());
if(logger.isErrorEnabled()) logger.error(" ", e);
return new EventResult();
public BulkEventResult execute(long processId, long eventId,BulkOrchestration bulkOrchestration) {
tcUserOperationsIntf userOperationsService=null;
UserManager um =null;
isLoggerInfoEnabled = logger.isInfoEnabled();
if(isLoggerInfoEnabled)logger.info("Bulk processId = " + processId + "; eventId = " + eventId + "; bulkOrchestration = " + bulkOrchestration);
um = Platform.getService(UserManager.class);
HashMap<String, Serializable>[] parametersArray = bulkOrchestration.getBulkParameters();
for(int i=0;i<parametersArray.length;i++)
HashMap<String, Serializable> parameters = parametersArray;
logger.info("parameters = " + parameters );
RandomPasswordGeneratorImpl randomPasswordGenerator = new RandomPasswordGeneratorImpl();
char new_pwd[] = randomPasswordGenerator.generatePassword(new User(null));
String password = new String(new_pwd);
try{
String userLogin = (String)parameters.get("User Login");
um.changePassword( userLogin, password.toCharArray(), true);
}catch (Exception e) {
if(logger.isErrorEnabled()) logger.error(e.getMessage());
if(logger.isErrorEnabled()) logger.error(" ", e);
return new BulkEventResult();
private String getParamaterValue(HashMap<String, Serializable> parameters, String key) {
String value = (parameters.get(key) instanceof ContextAware)
? (String) ((ContextAware) parameters.get(key)).getObjectValue()
: (String) parameters.get(key);
return value;
}
Maybe you are looking for
-
Border around Artwork in Cover Flow, iOS 4.3
First of all: please excuse me for my english; it's not my native language. After updating to iOS 4.3 (Mac OS X 10.6.6; iTunes 10.4), I had some problem with some artworks, so I removed and added all my music to my iPhone 4. Suddenly, all the artwork
-
Good day! I need to buy or download the recovery diskfor HP laptop Pavilion G6-1095ST (LP277EA#AB8). Burnt hard drive and now I can't restore the system, drivers and utilitiesonthe new drive. Help please! This question was solved. View Solution.
-
10.2.0.3 grid control linux administration not working
I've got 10.2.0.3 grid control running on Suse Linux 9 32bit, and a 10.2.0.2 Suse Linux 9 64bit agent. There's no problem with this config, except I can't get the administration page to work. When I click on a server target and then go to the adminis
-
Hi, I filmed a short corporate production recently which included interviews from members of the local community. It was queried wether I had written permission from each of the people I interviewed. I do not. I have never sought permission from thos
-
HT3529 How do I make my text messages quit saying "urgent"??
All of my text messages are showing "Urgent". How do I take this off?