Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Re: JDBC provider-specific properties?

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Re: JDBC provider-specific properties?


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: Tom Poage <>, "" <>
  • Subject: [grouper-users] Re: JDBC provider-specific properties?
  • Date: Thu, 8 Dec 2016 04:11:53 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:PPXNSRxICqsiemnXCy+O+j09IxM/srCxBDY+r6Qd2uwRIJqq85mqBkHD//Il1AaPBtSAra8fwLGP+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZPebgFGiTanYb5/Ihq6oAvMusILnYZsN6E9xwfTrHBVYepW32RoJVySnxb4+Mi9+YNo/jpTtfw86cNOSL32cKskQ7NWCjQmKH0169bwtRbfVwuP52ATXXsQnxFVHgXK9hD6XpP2sivnqupw3TSRMMPqQbwoXzmp8rxmQwH0higZKzE58XnXis1ug6JdvBKhvAF0z4rNbI2IKPZyYqbRcNUHTmRDQ8lRTTRMDIOiYYUSE+oPM+VWr4f/qFsPsRSxChKhC/nzxjNUnHL6wbE23/knHArb3AIgBdUOsHHModn7NqkTUeG0w7fSzTnbcvhbxzf96JLJchA6r/2HQLV9cc/NxkkvFwLEj0ufqZb+MjOUzeQCr3KX7/d4Ve2xjW4nrRt9rSayyccxk4TEgJ8exF7D9SV82ok1JNu4RVZ8Yd6+CpRfqyWaOJVsTsw+RGFovSA3waAFt56jZCUG1okryh/FZ/GJbYSE+A/vWeWNLTtimn5od6qziwu8/ES+0OHwSMa53VZQoidGj9XArG0B2wHR58WBV/Bz5F2u2SyV2ADW8uxEIV47la7cK5M52rA9ip0dvVjdEiPvhUv4lLKaelwj+uez9evreLLmpoKAN4BvjQH+L6IuldGlDeQgKAgOWHSb9vqg273//E35R7NKgucxkqnErJDaIcMbpqm6AwNPzokj7BO/Ay+n0NQeg3YHMEpIdAyag4XoIV3DLu70Ae2ij1mvjDtn3e7KM7L5DpXINHfDkbPhfbhn605bzQo+1dVf6I5UCrABIfP8RFXxucfZDh8iLwO42fvnCM1j2YMYX2KDGLGWP77PsVOQ/OIgP/GMZJMJuDb6M/Ul6OTujXgkmV8FY6apx4IbaG2jHvt4OUWZemHhgtMAEWcRogo+V/LmhEeDUT5Ve3a9Qbg85jclB4K6E4vPXJ6ij6Gc3HTzIpoDWmdDQmiLGHjlP9GYVe8LYS2fCtJqnjUaVKPnRoM8g1Xm/gDgzKd/I/CR5zYVr4nL1d5p6vfVmA1oszF4Eo7Vh26XSHxsk3lNWiQ7xrtXoEphx02F3LQixfFUCIoAyelOV1JwFY/OwvY+Q/vyQAPaNJ/dTV2mU8erGxkwVdl33scDZUA7Ftm/2EOQlxG2CqMYwuTYTKc/9bjRij2of55w
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

You can specify the Oracle connect URL, and any other hibernate properties.  Not sure if hibernate has settings for those things.  Doesnt the server require security and the client just does it?  Or maybe the oci client has more options without having to pass properties to the driver?


Thanks

Chris 




From: <> on behalf of Tom Poage <>
Sent: Wednesday, December 7, 2016 7:42 PM
To:
Subject: [grouper-users] JDBC provider-specific properties?
 
Grouper Newbie. Knowledge of Hibernate ancient.

I’ve poked around the Grouper and Hibernate source, a bit of Googling and come up short. Can one (and where) wire in properties specific to a JDBC provider?

Specifically, Oracle thin driver encryption/integrity, cf.

https://docs.oracle.com/database/121/JJDBC/clntsec.htm#JJDBC28313

With the connection pool would be a plus!

Bits of analogous Java:

OracleDriver dr = new OracleDriver();
String url = ""jdbc:oracle:thin:@ldap://....ucdavis.edu:389/...,cn=OracleContext,dc=ucdavis,dc=edu”; Properties props = new Properties();
...
props.setProperty("oracle.net.encryption_client", "REQUIRED");
props.setProperty("oracle.net.encryption_types_client", "(AES256,AES192,AES128,3DES168)");
props.setProperty("oracle.net.crypto_checksum_client","REQUIRED");
props.setProperty("oracle.net.crypto_checksum_types_client","(SHA1)");
...
OracleConnection conn = (OracleConnection) dr.connect(url,props);

Would these have to be set as system/container properties?

Thanks!
Tom.



Archive powered by MHonArc 2.6.19.

Top of Page