Chapter 14. Securing your applications
- 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 ...
Get OSGi in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.