cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Is there an object to get the configuration data in the JAVA backend?

former_member333938
Participant
0 Kudos
293

Hello all:

I would like to know if there is a java object that I can use to obtain the CCO configuration data, for example the data configured in "integration":

does anyone know if this object exists?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

R_Zieschang
Contributor

Hi josehrmatos,

have a look at my blog part III

https://blogs.sap.com/2019/03/24/sap-customer-checkout-plugin-development-part-iii/

I used the configurations from the b1 integration to get the username and password for the b1i.

// getting the http basic auth credentials
		String httpBasicAuthUser = ConfigurationHelper.INSTANCE.getB1ServiceDestination().getUserName();
		String httpBasicAuthPassword = new String(ConfigurationHelper.INSTANCE.getB1ServiceDestination().getPassword());

The ConfigurationHelper class should hold afaik the configurations for the cco instance.

hth

Robert

former_member333938
Participant
0 Kudos

thank you very much for answering rzieschang

Answers (0)