karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Assigned] (KARAF-5015) Howto add default realm on pax web whitebard application.
Date Tue, 07 Mar 2017 08:21:32 GMT

     [ https://issues.apache.org/jira/browse/KARAF-5015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré reassigned KARAF-5015:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> Howto add default realm on pax web whitebard application.
> ---------------------------------------------------------
>
>                 Key: KARAF-5015
>                 URL: https://issues.apache.org/jira/browse/KARAF-5015
>             Project: Karaf
>          Issue Type: Question
>    Affects Versions: 3.0.7
>         Environment: Karaf 3.0.7 Pax web 3.2.9
>            Reporter: Terrien Jean-Yves
>            Assignee: Jean-Baptiste Onofré
>
> Hi 
> I'm using Pax Web Whiteboard for my application. 
> I've 2 bundles 
> Main and Queues 
> each bundle define a contextMaping with same path 
>       DefaultHttpContextMapping httpContextMap = new DefaultHttpContextMapping();
>       httpContextMap.setHttpContextId(module.getContextId());
>       httpContextMap.setPath(module.getContextPath());
>       ServiceRegistration<?> 
>       registration =
>          bundleContext.registerService(HttpContextMapping.class.getName(), httpContextMap,
null);
> These bundles start serving correctly. 
> > web:list
> ID  | State       | Web-State   | Level | Web-ContextPath | Name
> ------------------------------------------------------------------------------------------------------
> 312 | Active      | Unknown     | 80    | /pantheon       | Pantheon :: Web :: Main (1.0.0.SNAPSHOT)
> 313 | Active      | Unknown     | 80    | /pantheon       | Pantheon :: Web :: Queues
(1.0.0.SNAPSHOT)
> Everything works fine. 
> I'm now trying to add an authentication using the default realms. 
> But I have no find any documentation about it.
> I've posted this question on nabble
> http://karaf.922171.n3.nabble.com/Pax-Web-Whiteboard-Karaf-3-0-7-tt4049735.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message