How can I get username and password from Centrify PAS with Java Programming Language?

Showing results for 
Search instead for 
Do you mean 
Reply
Participant II
Posts: 3
Registered: 2 weeks ago
#1 of 4 264
Accepted Solution

How can I get username and password from Centrify PAS with Java Programming Language?

Hello,

 

When a Java application needs to establish a database connection, the definition of datasource is created in the Java Application Servers (WebLogic, Tomcat and WebSphere). This method is preferable because it is easy to use by software.

 

You can find the details below.

 

How to create datasource in the WebLogic?

http://www.deltalounge.net/wpress/2011/02/create-data-source-in-weblogic-server/

 

Advantages of DataSource Objects:

Because of its properties, a DataSource object is a better alternative than the DriverManager class for getting a connection. Programmers no longer have to hard code the driver name or JDBC URL in their applications, which makes them more portable. Also, DataSource properties make maintaining code much simpler. If there is a change, the system administrator can update data source properties and not be concerned about changing every application that makes a connection to the data source. For example, if the data source were moved to a different server, all the system administrator would have to do is set the serverName property to the new server name.

 

One of our customers shared this information that "We did PoC with CyberArk. The datasorce is created via the Java Application Server. A Java application is used this datasource to get username and password of a database from CyberArk's vault."

 

They would like Centrify to have this skill. Because of the lack of the skill, they may not prefer us and we can lose them. We would like you to provide such a capability in Centrify.

 

Thank you

 

Oguz Kalfaoglu

 

 

Centrify Guru I
Posts: 2,411
Registered: ‎07-26-2012
#2 of 4 262

Re: How can I get username and password from Centrify PAS with Java Programming Language?

@okalfaoglu,

 

Welcome to the Centrify forums.

 

If you're a commercial customer requesting a new feature, please use:

All these avenues can be used to communicate desired enhancements.  If enough commercial customers request the capabilities, they make it into the product backlog.

 

As far as checking-out passwords using programming languages, this is all possible today via our APIs.  The API in question is:

/ServerManage/CheckoutPassword - https://developer.centrify.com/v1.2/reference#post_servermanage-checkoutpassword

 

You can test this here:  https://apidemo.centrify.com/Centrify_API_Reference#/Resource_Management

 

R.P

Want to learn more about practical Centrify examples? Check out my blog at http://centrifying.blogspot.com
Follow Centrify:
Highlighted
Participant II
Posts: 3
Registered: 2 weeks ago
#3 of 4 256

Re: How can I get username and password from Centrify PAS with Java Programming Language?

Hello Robertson,

 

I tried to open a case via the idea exchange, but I got the following error message. How can I get help to resolve this issue?

 

"You do not have sufficient privileges for this resource or its parent to perform this action."

 

Best Regards,

Centrify Guru I
Posts: 2,411
Registered: ‎07-26-2012
#4 of 4 274

Re: How can I get username and password from Centrify PAS with Java Programming Language?

@okalfaoglu, contact your Centrify lead and ask for Customer Portal Support access.

Want to learn more about practical Centrify examples? Check out my blog at http://centrifying.blogspot.com
Follow Centrify: