Archive for January, 2009

Costin Leau

Exposing the boot classpath in OSGi

A fairly common question that I get from time to time is how to go about using JDK specific classes inside an OSGi environment. To some degree, this is equivalent to getting access to the bootstrapping classpath from OSGi, without bundling it. To express package dependencies, bundles use the OSGi directive inside their manifests – Read more…

Oleg Zhurakousky

Spring Security customization (Part 2 – Adjusting secured session in real time)

Imagine you are in the secured session (you are logged on and are authorized to access a particular resource), but your security infrastructure team has updated your rights and privileges. Perhaps you were given more rights and privileges or perhaps your rights were completely revoked. . . The problem is that your secured session is Read more…

Oleg Zhurakousky

Spring Security customization (Part 1 – Customizing UserDetails or extending GrantedAuthority)

This is the first part of what I hope will become a multipart series of small posts showing practical examples around Spring Security customization. The requirements for these customizations are not imaginary and all came from the field. . . Assume you have the following requirement. You have a list of roles where each role Read more…