- package com.oimacademy.test;
- import com.oimacademy.connection.Platform;
- import oracle.iam.conf.api.SystemConfigurationService;
- import oracle.iam.conf.vo.SystemProperty;
- public class GetSystemConfiguration {
- public static void main(String args[]){
- System.out.println("******** "+checkPropertyValue("XL.UserDeleteDelayPeriod"));
- }
- private static int checkPropertyValue(String property){
- try{
- SystemConfigurationService sysConfig = Platform.getService(SystemConfigurationService.class);
- SystemProperty prop =sysConfig.getSystemProperty(property);
- int value = Integer.parseInt(prop.getPtyValue());
- System.out.println(" Value : "+ value);
- return value;
- }catch(Exception e){
- System.out.println("Error while checking Delay Delete User Property XL.UserDeleteDelayPeriod");
- e.printStackTrace();
- }
- return 0;
- }
- }
Oracle Identity Manager(OIM) is the Provisioning Solution from oracle. This page contains an index with references to all OIM related posts in the oracle identity manager Academy blog. The posts included herein are intended to provide oracle identity management customers and developers with technical information about best practices for implementing OIM based solutions.
OIM API to get System Configuration Data
Subscribe to:
Post Comments (Atom)
-
Connection Related API's : OIM DB Connection/ Data Source connection OIMClient API / OIMConnection API OIM Platform API to getSer...
-
Error : Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.springframewor...
-
In this post, we set the middle name as “MiddleName” if user does not provide middle name during user create operation. Below are high...
No comments:
Post a Comment