[ https://issues.apache.org/jira/browse/FELIX-6626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17760910#comment-17760910 ]
Rakesh Kumar commented on FELIX-6626: ------------------------------------- Yeah, my previous security provider was registered by WebConsoleSecurityProvider but as you said current impl has registered WebConsoleSecurityProvider3. {code:java} @Override public ServiceRegistration<WebConsoleSecurityProvider3> addingService( final ServiceReference<SecurityProvider> reference ) { final SecurityProvider provider = this.bundleContext.getService(reference); if ( provider != null ) { final JakartaSecurityProvider jakartaSecurityProvider = new JakartaSecurityProvider(provider); final Dictionary<String, Object> props = new Hashtable<>(); if (reference.getProperty(Constants.SERVICE_RANKING) != null) { props.put(Constants.SERVICE_RANKING, reference.getProperty(Constants.SERVICE_RANKING)); } final ServiceRegistration<WebConsoleSecurityProvider3> reg = this.bundleContext.registerService(WebConsoleSecurityProvider3.class, jakartaSecurityProvider, props); return reg; } return null; } {code} Let me create a new issue. > Support jakarta servlet registration > ------------------------------------ > > Key: FELIX-6626 > URL: https://issues.apache.org/jira/browse/FELIX-6626 > Project: Felix > Issue Type: New Feature > Components: Web Console > Reporter: Carsten Ziegeler > Assignee: Carsten Ziegeler > Priority: Major > Fix For: webconsole-4.9.0 > > > In order to support migration from Servlet API 2/3 to Servlet API 5, the web > console could support registrations of jakarta.servlet.Servlet in addition to > javax.servlet.Servlet. > This pattern could be useful for other modules as well. -- This message was sent by Atlassian Jira (v8.20.10#820010)