Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Spotlight on GlassFish 4.0.1: #1 JDBC Realm

DZone's Guide to

Spotlight on GlassFish 4.0.1: #1 JDBC Realm

· Integration Zone
Free Resource

Modernize your application architectures with microservices and APIs with best practices from this free virtual summit series. Brought to you in partnership with CA Technologies.

 'Spotlight on GlassFish 4.0.1' is a series of posts that highlights specific enhancements of the upcoming GlassFish 4.0.1 release. It could be a new feature, a fix, a behaviour change, a tip, etc.

#1 JDBC Realm for user authentication
There has been some refactoring between GF 3.x and GF 4.0. One unfortunate consequence of that refactoring is that the JDBC Auth Realm package has changed between those 2 GF versions. This can cause some obvious issues when moving,  from GF 3.x to GF 4.0, an application using the JDBC Realm!
GF 3.x was using com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm while GF 4.0 is using   com.sun.enterprise.security.ee.auth.realm.jdbc.JDBCRealm
GF 4.0.1 will fix this and revert back to the original com.sun.enterprise.security.auth.realm.jdbc. JDBCRealm package!

If you want to know more...

  • Check the original Jira ticket for some background
  • Read the JDBC Realm section of the Java EE Tutorial
  • Test it today using the latest version of this sample in the trunk of the Java EE Tutorial
You can also help us to test GF 4.0.1 more broadly via the FishCAT Program.

The Integration Zone is proudly sponsored by CA Technologies. Learn from expert microservices and API presentations at the Modernizing Application Architectures Virtual Summit Series.

Topics:

Published at DZone with permission of Reza Rahman, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}