Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP and servlet Filter(Want to plug a Filter before the servlet executing my RAP application)
RAP and servlet Filter [message #523587] Sat, 27 March 2010 01:39 Go to next message
Salim MANSOURI is currently offline Salim MANSOURIFriend
Messages: 2
Registered: March 2010
Junior Member
Hi everyone,

I added the extension org.eclipse.equinox.http.registry.servlets to provide my servlet running my RAP application with a filter (for authentication against an identity server).

I selected the serviceSelector for that matter and in my plugin.xml I have the following entry :

<extension
point="org.eclipse.equinox.http.registry.servlets">
<serviceSelector
class=" org.wso2.solutions.identity.relyingparty.servletfilter.Relyi ngPartyFilter "
filter="myFilter">
</serviceSelector>
</extension>

As per my identity manager provider instruction ( http://wso2.org/project/solutions/identity/1.5/docs/rp_devel oper_guide.html ) I have to provide some init-param to my filter !

I do not see any way to add those inti-param in the serviceSelector associated to my filter.

Any help would be much appreciated,


Thanks a lot,

Salim.
Re: RAP and servlet Filter [message #523761 is a reply to message #523587] Mon, 29 March 2010 03:48 Go to previous messageGo to next message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
Hi Salim,

taking a look at the changes done with
https://bugs.eclipse.org/bugs/show_bug.cgi?id=128068 it looks so as if
the init params can be attached using the extension point. As an
alternative, passing them programtically at
org.eclipse.equinox.http.servlet.ExtendedHttpService should also be
possible.

If this doesn't work, I suggest to ask at the Equinox newsgroup.

Regards,
Stefan.


Salim MANSOURI schrieb:
> Hi everyone,
>
> I added the extension org.eclipse.equinox.http.registry.servlets to
> provide my servlet running my RAP application with a filter (for
> authentication against an identity server).
>
> I selected the serviceSelector for that matter and in my plugin.xml I
> have the following entry :
>
> <extension
> point="org.eclipse.equinox.http.registry.servlets">
> <serviceSelector
> class="
> org.wso2.solutions.identity.relyingparty.servletfilter.Relyi
> ngPartyFilter "
> filter="myFilter">
> </serviceSelector>
> </extension>
>
> As per my identity manager provider instruction (
> http://wso2.org/project/solutions/identity/1.5/docs/rp_devel oper_guide.html
> ) I have to provide some init-param to my filter !
>
> I do not see any way to add those inti-param in the serviceSelector
> associated to my filter.
>
> Any help would be much appreciated,
>
> Thanks a lot,
>
> Salim.
Re: RAP and servlet Filter [message #524106 is a reply to message #523761] Tue, 30 March 2010 17:46 Go to previous message
Salim MANSOURI is currently offline Salim MANSOURIFriend
Messages: 2
Registered: March 2010
Junior Member
Thanks Stefan for your reply.
I will check the extension point, and let know the community about my progress.

Salim.
Previous Topic:RAP databinding example
Next Topic:Problem with Design Examples and IE8
Goto Forum:
  


Current Time: Mon Oct 07 02:51:41 GMT 2024

Powered by FUDForum. Page generated in 0.03772 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top