Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

GlassFish

Is it possible in GlassFish to instruct the jdbc connection to encrypt the communication with the database?
I have read that the connection string should be something like
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host)(PORT=5521))(CONNECT_DATA= (SERVICE_NAME=servicename))(Security=(ENCRYPTION_LEVEL=REQUIRED)))

GlassFish 3.1.2 and Oracle RDBMS 19c.

Comments
Post Details
Added on Jan 20 2026
0 comments
39 views