idamexperts(Identity
and Access
Management)
OIM|OAM|SailPoint|Pi
ng|ISAM|ISIM|OIG|OK
TA
Sharing our experience with IAM – Shashank
Kulshreshtha,Karan Kumar & Sivaramakrishnan
Sundararaman
OIM 12C ps4: Standalone
Java code
! shashankcse/Shashank kulshreshtha ! SOA
! September 14, 2020 !2 Minutes
I was trying to integrate the OIM application using
custom java code:
Below are the required jars
commons-logging.jar
event-recording-client.jar
idmdf-common.jar
jrf-api.jar
oimclient.jar
spring-context-4.3.20.RELEASE.jar
spring-core-4.3.20.RELEASE.jar
wlfullclient.jar or wlthint3client.jar
import javax.naming.Context;
import javax.security.auth.login.LoginException;
import com.thortech.xl.vo.User;
import java.util.*;
import oracle.iam.application.api.ApplicationManag
import oracle.iam.application.vo.Application;
import oracle.iam.application.vo.Attribute;
import oracle.iam.application.vo.BasicAttribute;
import oracle.iam.application.vo.CIBean;
import oracle.iam.application.vo.Constants.Status;
import oracle.iam.application.vo.DeploymentMode;
import oracle.iam.application.vo.Form;
import oracle.iam.application.vo.ObjectClass;
import oracle.iam.application.vo.Organization;
import oracle.iam.application.vo.ProvisioningConfig
import oracle.iam.application.vo.ReconConfig;
import oracle.iam.catalog.vo.CatalogSearchCriteria.O
import oracle.iam.identity.exception.OrganizationM
import oracle.iam.identity.usermgmt.api.UserManag
import oracle.iam.platform.OIMClient;
import oracle.iam.platform.authopss.vo.AdminRole;
import oracle.iam.platform.authopss.vo.AdminRoleM
import oracle.iam.platform.authz.exception.AccessD
import oracle.iam.platform.entitymgr.vo.SearchRule
import oracle.iam.platform.authopss.vo.AdminRoleM
import oracle.iam.platformservice.api.AdminRoleSe
public class TESTClient {
static OIMClient oimClient = null;
//identity self service details
static String username = "<username>";
static String password = "<Passwor>"; //xelsysadm p
static String t3url = "t3://<hostname>:<portname>"
static String authwl_location = "<path of AUTHWL.
public static OIMClient getOIMConnection(){
System.out.println("getOIMConnection() : Start
//set system properties
System.setProperty("java.security.auth.login.co
System.setProperty("OIM.AppServerType", "wls"
System.setProperty("APPSERVER_TYPE", "wls");
Hashtable oimenv = new Hashtable();
oimenv.put(OIMClient.JAVA_NAMING_FACTOR
oimenv.put(OIMClient.JAVA_NAMING_PROVID
oimClient = new OIMClient(oimenv);
try {
oimClient.login(username, password.toCharA
System.out.println("Connected");
} catch (LoginException e) {
e.printStackTrace();
}
System.out.println("getOIMConnection() : End")
return oimClient;
}
public static void main(String []args) {
try {
OIMClient oimClient = getOIMConnection();
UserManager usrMgr = oimClient.getService(Us
Set retAttrs = new HashSet();
retAttrs.add("First Name");
retAttrs.add("Last Name");
retAttrs.add("User Login");
oracle.iam.identity.usermgmt.vo.User userList =
System.out.println( userList.getFirstName());
}catch(Exception e) {
e.printStackTrace();
}
}
Sponsored Content
Discover the incredible design powers you'll
gain with the xWorks team
Sponsored by solidworks.com
Senior Apartments Coming to Bengaluru (Check
Prices)
Apartments for sale | Search Ads
Electrician Salaries In The USA Might Surprise
You
Jobs | Search ads
Shahid Kapoor’s 6 Shandaar Indian Outfits To
Give You Style Inspiration
Zee Zest
Share this:
Twitter
Advertisements
Facebook
Like
REPORT THIS AD
Be the first to like this.
Related
Code for importing xml OIM How to configure
using java code email for Actionable
May 24, 2017 emails using gmail in
In "Oracle Identity
SOA
Manager(OIM)"
May 24, 2017
In "Oracle Identity
Manager(OIM)"
OIM: Enable ssl
between OIM and Ad
Connector Server.
July 25, 2018
In "SOA"
Published by
shashankcse/Shashank
kulshreshtha
View all posts by shashankcse/Shashank
kulshreshtha
Saviynt: Connection Duplication for multiple connection
!
Saviynt:Can we do transformation after account import.
!
Leave a Reply
Your email address will not be published. Required
fields are marked *
Comment *
Name *
Email *
Website
Post Comment
Notify me of new comments via email.
Notify me of new posts via email.
Search …
Recent Posts
Unlock user in PD using REST API
How to configure Federation AD for AWS in Saviynt
How to get unencrpted private key using openssl
How to create csr for certificate with SAN using
openssl with pvt key
Revoke app instance from OIM API
Recent Comments
Ankur Arora on Saviynt:Custom username and
em…
shashankcse/Shashank… on OIM SOA:Human
Task is not visi…
shashankcse/Shashank… on Saviynt:Custom
username and em…
sai on Saviynt:Custom username and em…
How to display the O… on How to override
browser settin…
Archives
September 2022
July 2022
June 2022
March 2022
January 2022
December 2021
October 2021
August 2021
July 2021
May 2021
April 2021
March 2021
February 2021
December 2020
October 2020
September 2020
August 2020
July 2020
June 2020
April 2020
March 2020
February 2020
January 2020
December 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
January 2019
October 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
Categories
AWS Lambda
Database
OHS
OpenIDM
Oracle Identity Manager(OIM)
Ping Directory
Ping Federate
Sailpoint
Saviynt
SOA
Weblogic
Meta
Register
Log in
Entries feed
Comments feed
WordPress.com
Privacy & Cookies: This site uses cookies. By continuing to use this website,
you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
Create a free website or blog at WordPress.com.
Advertisements
Close and accept
REPORT THIS AD