You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Zhemzhitsky Sergey <Se...@troika.ru> on 2011/04/27 10:21:20 UTC

Installing custom security provider

Hi there,

I'm trying to install custom security provider using this http://felix.apache.org/site/65-deploying-security-providers.html link. Unfortunately this provider uses xmlsec library which must be placed near it.

I have changed org.osgi.framework.bootdelegation like this:

org.osgi.framework.bootdelegation=org.apache.karaf.jaas.boot,sun.*,com.sun.*,javax.transaction,javax.transaction.*, \
org.customsec.*, \
org.apache.xml.security.*

And now I need all the bundles to delegate requests to org.apache.xml.security from the org.osgi.framework.bootdelegation even if they import packages from org.apache.xml.security with specific versions.

Is it possible to achieve?

Best Regards,
Sergey Zhemzhitsky


_______________________________________________________

The information contained in this message may be privileged and conf idential and protected from disclosure. If you are not the original intended recipient, you are hereby notified that any review, retransmission, dissemination, or other use of, or taking of any action in reliance upon, this information is prohibited. If you have received this communication in error, please notify the sender immediately by replying to this message and delete it from your computer. Thank you for your cooperation. Troika Dialog, Russia. 
If you need assistance please contact our Contact Center  (+7495) 258 0500 or go to www.troika.ru/eng/Contacts/system.wbp  


RE: Installing custom security provider

Posted by Zhemzhitsky Sergey <Se...@troika.ru>.
Hi Guillaume,

Thanks a lot. I was confused by packages:imports command that showed imports with concrete versions of the library while classloader was the boot classloader.

Best Regards,
Sergey Zhemzhitsky


-----Original Message-----
From: Guillaume Nodet [mailto:gnodet@gmail.com] 
Sent: Wednesday, April 27, 2011 12:23 PM
To: user@karaf.apache.org
Subject: Re: Installing custom security provider

If boot delegation is available for a given package, it will always be used first.

On Wed, Apr 27, 2011 at 10:21, Zhemzhitsky Sergey <Se...@troika.ru> wrote:
> Hi there,
>
>
>
> I'm trying to install custom security provider using this 
> http://felix.apache.org/site/65-deploying-security-providers.html link.
> Unfortunately this provider uses xmlsec library which must be placed 
> near it.
>
>
>
> I have changed org.osgi.framework.bootdelegation like this:
>
>
>
> org.osgi.framework.bootdelegation=org.apache.karaf.jaas.boot,sun.*,com
> .sun.*,javax.transaction,javax.transaction.*,
> \
>
> org.customsec.*, \
>
> org.apache.xml.security.*
>
>
>
> And now I need all the bundles to delegate requests to 
> org.apache.xml.security from the org.osgi.framework.bootdelegation 
> even if they import packages from org.apache.xml.security with specific versions.
>
>
>
> Is it possible to achieve?
>
>
>
> Best Regards,
>
> Sergey Zhemzhitsky
>
>
>
> _______________________________________________________
>
>
>
> The information contained in this message may be privileged and conf 
> idential and protected from disclosure. If you are not the original 
> intended recipient, you are hereby notified that any review, 
> retransmission, dissemination, or other use of, or taking of any 
> action in reliance upon, this information is prohibited. If you have 
> received this communication in error, please notify the sender 
> immediately by replying to this message and delete it from your 
> computer. Thank you for your cooperation. Troika Dialog, Russia.
>
> If you need assistance please contact our Contact Center (+7495) 258 
> 0500 or go to www.troika.ru/eng/Contacts/system.wbp
>
>



--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Connect at CamelOne May 24-26
The Open Source Integration Conference
http://camelone.com/

_______________________________________________________

The information contained in this message may be privileged and conf idential and protected from disclosure. If you are not the original intended recipient, you are hereby notified that any review, retransmission, dissemination, or other use of, or taking of any action in reliance upon, this information is prohibited. If you have received this communication in error, please notify the sender immediately by replying to this message and delete it from your computer. Thank you for your cooperation. Troika Dialog, Russia. 
If you need assistance please contact our Contact Center  (+7495) 258 0500 or go to www.troika.ru/eng/Contacts/system.wbp  



Re: Installing custom security provider

Posted by Guillaume Nodet <gn...@gmail.com>.
If boot delegation is available for a given package, it will always be
used first.

On Wed, Apr 27, 2011 at 10:21, Zhemzhitsky Sergey
<Se...@troika.ru> wrote:
> Hi there,
>
>
>
> I’m trying to install custom security provider using this
> http://felix.apache.org/site/65-deploying-security-providers.html link.
> Unfortunately this provider uses xmlsec library which must be placed near
> it.
>
>
>
> I have changed org.osgi.framework.bootdelegation like this:
>
>
>
> org.osgi.framework.bootdelegation=org.apache.karaf.jaas.boot,sun.*,com.sun.*,javax.transaction,javax.transaction.*,
> \
>
> org.customsec.*, \
>
> org.apache.xml.security.*
>
>
>
> And now I need all the bundles to delegate requests to
> org.apache.xml.security from the org.osgi.framework.bootdelegation even if
> they import packages from org.apache.xml.security with specific versions.
>
>
>
> Is it possible to achieve?
>
>
>
> Best Regards,
>
> Sergey Zhemzhitsky
>
>
>
> _______________________________________________________
>
>
>
> The information contained in this message may be privileged and conf
> idential and protected from disclosure. If you are not the original intended
> recipient, you are hereby notified that any review, retransmission,
> dissemination, or other use of, or taking of any action in reliance upon,
> this information is prohibited. If you have received this communication in
> error, please notify the sender immediately by replying to this message and
> delete it from your computer. Thank you for your cooperation. Troika Dialog,
> Russia.
>
> If you need assistance please contact our Contact Center (+7495) 258 0500 or
> go to www.troika.ru/eng/Contacts/system.wbp
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Connect at CamelOne May 24-26
The Open Source Integration Conference
http://camelone.com/