Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9231069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T05:58:44+00:00 2026-06-18T05:58:44+00:00

Our application consists of multiple OSGi bundles, which expose their functionality through RESTful URIs.

  • 0

Our application consists of multiple OSGi bundles, which expose their functionality through RESTful URIs. What is the best way to secure these URIs, so that only logged in and authorized users can access them? For a normal web application, I’d have used a web filter to control the access to all these URIs. Is there a way I can secure the access using just one security filter (or its equivalent) for all these URIs in OSGi? Or, will I need to include the security filter in each of the OSGi bundles? The container we are using is Apache Karaf, if it matters.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T05:58:45+00:00Added an answer on June 18, 2026 at 5:58 am

    The Apache Felix Http Jetty service includes a filter facility. The easiest way to use it is to install the Apache Felix Http Whiteboard bundle and then register a Filter service …

    Unfortunately, this is not in the OSGi spec yet but will likely become part of the spec for the next round. I’ve been using this model for exactly your type of security now for 6 months and it works like a charm.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our application consists of three parts: 1. A core module, which contains model and
At our company we are developing an application that will consists of several modules.
Our product consists of multiple applications, All using Lucene. 2 of the applications I
Our desktop application consists of a Mono/.NET 3.5 back end that communicates via USB
In our application we use a general function to create jQuery dialogs which contain
The main window of our WPF application consists of 4 regions, arranged as 2x2
Our Application has a Class that wraps Jersey REST functionality. One Method is public
I have a Lotus Notes application which actually consists of a template with all
I'm tasked with obtaining a code signing certificate. Our application actually consists of 2
Our application is a Java-GWT application that uses Guice-Persist and Guice-Servlet extensively. We have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.