JDBC Get Connection/Information


I’m trying to make a package that will get some Metadata for the DB Connections. For that I need to connect to the database, and I’m using this service to get the DB information wm.art.ns:getAllConnectionMetaData, but the password returned is encrypted, and I cannot use this to connect to the BD.

Is there any similar service that returns the open password?
Or is there any service that receives a DB Alias and returns a Connection object (or something similar) ?

Thank you