cancel
Showing results for 
Search instead for 
Did you mean: 

API for configtool access?

darren_hague
Contributor
0 Kudos

Hi,

I would like to be able to read some of the UME configuration properties in some code I am writing - specifically, I want to discover which is the configured LDAP server from my code.

Does anyone know how I can access the UME config properties from Java?

Thanks in advance,

Darren

Accepted Solutions (1)

Accepted Solutions (1)

darren_hague
Contributor
0 Kudos

Thanks, but you are missing my point. I know where to find the config values myself as a human being. What I want is the <u>Java code</u> to allow my program to read the config values.

Specifically, I want my program to be able to read the currently configured value of the LDAP server used by UME, so that I do not have to change this value as I transport my code through Dev, QA and Production.

Cheers,

Darren

former_member182372
Active Contributor
0 Kudos

import com.sap.security.api.UMFactory;

.....
UMFactory.getProperties().get("<NAME>");

where name is value from

http://help.sap.com/saphelp_nw2004s/helpdata/en/af/0cfc3f09c2c442e10000000a1550b0/frameset.htm

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

good

go through this link,hope help you to solve your problem

http://help.sap.com/saphelp_nw04s/helpdata/en/9f/d770424edcc553e10000000a1550b0/content.htm

/people/tsvetomir.tsvetanov/blog/2007/04/13/howto-create-custom-application-for-handling-j2ee-engine-multi-domain-single-sign-on-token

thanks

mrutyun^

Former Member
0 Kudos

Hi Darren,

By default, the AS-Java provides standard users for administrative and guest access, as well as communication users for connecting to the installed user data store. The standard users on the J2EE Engine vary according to the user store and installation options and are as shown in the table below.

refer this link, hope you find it useful

http://help.sap.com/saphelp_nw04s/helpdata/en/9f/d770424edcc553e10000000a1550b0/content.htm

Regards

Divya