O'Reilly logo

OSGi in Action: Creating Modular Applications in Java by David Savage, Stuart McCulloch, Karl Pauls, Richard Hall

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. Securing your applications

 

This chapter covers
  • Providing an overview of the Java security architecture
  • Using OSGi Conditional Permission Admin to manage permissions
  • Signing bundles and granting permissions based on bundle signers
  • Creating custom permission conditions for advanced use cases

 

OSGi allows you to create loosely coupled, extensible applications. In such applications, bundles can come and go at any time, and it’s easy to allow third parties to extend your application in a well-defined way. But as with most things in life, there’s a downside to this flexibility: you open yourself (or your users) to security vulnerabilities because third-party bundles can’t be completely trusted.

Luckily, the Java platform has built-in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required