Re: Security in Module

2015-03-25 Thread Jean-Baptiste Onofré

Hi Andy,

you can directly use the JAAS subject provider.

You get a LoginContext and Subject.

Regards
JB

On 03/26/2015 01:47 AM, Andrew Phillips wrote:

I am hoping to utilize the Karaf security module in a bundle of mine.   What is 
the best way, if there is an example, of authenticating a user if i have a user 
name and password and getting back the roles so i can use the built in security 
module?

I appreciate the help.   Love the product, I am using Karaf 3.0.3.


Thanks!
Andy P




--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


sap hana Online Training From India |UK|US|Canada|Australia

2015-03-25 Thread kitsdeepika
What we offer: 

   KITS Online Trainings understand the need for a quality training
curriculum along with real-time implementation exposure as it forms the very
essence of your future career in SAP HANA. Our well-structured online
training course in SAP HANA extensively covers all the core aspects of HANA 
with an emphasis on live scenarios. Users get the complete flexibility in
choosing their batch timings from weekend or weekday slots. Access to expert
trainers and instructor led training sessions ensure that you can easily
clear your doubts and get the exact guidance that is expected from a
classroom training session.

SAP HANA Online Training Course Content


Introduction to ERP
Introduction to SAP & R/3 Architecture
Introduction to ABAP/4
ABAP Dictionary
Packages
Variants
Message Classes
Selection Screens
Open SQL Statements
Internal Tables
Debugging Techniques
Modularization Techniques
Reports
Dialog / Module Pool Programming/ Transactions
Modeling
Reporting
Security and User Management in HANA
User Management

Please open below link for complete course content
http://www.kitsonlinetrainings.com/sap-hana-online-training.html


The Advantage you get with KITS Online SAP HANA Course:

Flexibility in choosing training sessions as per your existing schedule
Advantage of completing the course at your own place and convenience
Training resources are prepared by Industry Experts in SAP HANA with rich
real-time experience
Interactive training sessions with 24/7 access to support and training
resources
Focus on building interview skills with extensive interview questions and
resume writing tips
Real-time implementation projects, course exercises, assignments and
complete access to expert faculty

Please contact for more details

KITS Online Technologies
Ph : +44 7519348128
Mail : kits.deep...@gmail.com
i...@kitsonlinetrainings.com
Website : www.kitsonlinetrainings.com




--
View this message in context: 
http://karaf.922171.n3.nabble.com/sap-hana-Online-Training-From-India-UK-US-Canada-Australia-tp4039315.html
Sent from the Karaf - User mailing list archive at Nabble.com.


SAP HR ABAP.Online Training From India |UK|US|Canada|Australia

2015-03-25 Thread kitsdeepika
What we offer:  


 KITS Online Trainings understand the need for a quality
training curriculum along with real-time implementation exposure as it forms
the very essence of your future career in SAP HR ABAP. Our well-structured
online training course in HR ABAP , extensively covers all the core aspects
of SAP HR ABAP  with an emphasis on live scenarios. Users get the complete
flexibility in choosing their batch timings from weekend or weekday slots.
Access to expert trainers and instructor led training sessions ensure that
you can easily clear your doubts and get the exact guidance that is expected
from a classroom training session.

SAP HR ABAP Online Training Course Content



Introduction to HR Module
Logical Databases (LDBS)
Infotypes
Time Constraints
HR Specific Macros
Reporting
Repeat Structures
HR-Interfaces
Clusters & Payroll Reporting
Interfacing Tool Kit


Please open below link for complete course content
http://kitsonlinetrainings.com/sap-hr-abap-online-training.html 



The Advantage you get with KITS Online Trainings SAP HR ABAP Course :

Flexibility in choosing training sessions as per your existing schedule
Advantage of completing the course at your own place and convenience
Training resources are prepared by Industry Experts in SAP HR ABAP with rich
real-time experience
Interactive training sessions with 24/7 access to support and training
resources
Focus on building interview skills with extensive interview questions and
resume writing tips
Real-time implementation projects, course exercises, assignments and
complete access to expert faculty

Please contact for more details

KITS Online Technologies
Mail:kits.deep...@gmail.com
Ph: +44 7519348128
Website : www.kitsonlinetrainings.com 





--
View this message in context: 
http://karaf.922171.n3.nabble.com/SAP-HR-ABAP-Online-Training-From-India-UK-US-Canada-Australia-tp4039314.html
Sent from the Karaf - User mailing list archive at Nabble.com.


SCCM 2012 Online Training From India |UK|US|Canada|Australia

2015-03-25 Thread kitsdeepika
What we offer: 
  
 KITS Online Trainings understand the need for a
quality training curriculum along with real-time implementation exposure as
it forms the very essence of your future career in SCCM. Our well-structured
online training course in SCCM 2012 extensively covers all the core aspects
of System center config manager ,New features, and Software distribution
with an emphasis on live scenarios. Users get the complete flexibility in
choosing their batch timings from weekend or weekday slots. Access to expert
trainers and instructor led training sessions ensure that you can easily
clear your doubts and get the exact guidance that is expected from a
classroom training session.

SCCM 2012 Online Training Course Content

•   Installing and Migrating to Microsofot System Center ConfigMgr 2012
•   Exploring the new console
•   Installing and Migrating to SCCM 2012
•   Deploying ConfigMgr Clients
•   Identifying Primary Sites and Site Hierarchies
•   Building Reports and Configuring Inventory
•   Managing Collections and Running Queries
•   Application Management
•   Deploying Software Updates and Operating Systems
•   Enhancing ConfigMgr Administration

Please open below link for complete SCCM 2012 course content
http://www.kitsonlinetrainings.com/sccm-2012-online-training.html

The Advantage you get with KITS Online SCCM 2012 Course:

Flexibility in choosing training sessions as per your existing schedule
Advantage of completing the course at your own place and convenience
Training resources are prepared by Industry Experts in SCCM with rich
real-time experience
Interactive training sessions with 24/7 access to support and training
resources
Focus on building interview skills with extensive interview questions and
resume writing tips
Real-time implementation projects, course exercises, assignments and
complete access to expert faculty

Please contact for more details

KITS Online Trainings
Ph : +44 7519348128
Mail :kits.deep...@gmail.com
i...@kitsonlinetrainings.com
Website : www.kitsonlinetrainings.com




--
View this message in context: 
http://karaf.922171.n3.nabble.com/SCCM-2012-Online-Training-From-India-UK-US-Canada-Australia-tp4039313.html
Sent from the Karaf - User mailing list archive at Nabble.com.


Abinitio Online Training From India |UK|US|Canada|Australia

2015-03-25 Thread kitsdeepika
What we offer: 
   KITS Online Trainings understand the need for a quality training
curriculum along with real-time implementation exposure as it forms the very
essence of your future career in Abinitio. Our well-structured online
training course in Abinitio extensively covers all the core aspects of
Abinitio with an emphasis on live scenarios. Users get the complete
flexibility in choosing their batch timings from weekend or weekday slots.
Access to expert trainers and instructor led training sessions ensure that
you can easily clear your doubts and get the exact guidance that is expected
from a classroom training session.

Abinitio Training Course Content


Introduction to Abinitio
Departition Components
Multifile System(MFS)
Types of parallelism
Layouts
Sort Components
Transform Components
Working with Databases
Database components
Phase and check Points
Miscellaneous component
Dataset Components
FTP Components
Compress Components
Validate Component
Translate components

Please open below link for complete course content
http://kitsonlinetrainings.com/abinitio-online-training.html 

The Advantage you get with KITS Online ABINITIO Course:

Flexibility in choosing training sessions as per your existing schedule
Advantage of completing the course at your own place and convenience
Training resources are prepared by Industry Experts in Abinitio with rich
real-time experience
Interactive training sessions with 24/7 access to support and training
resources
Focus on building interview skills with extensive interview questions and
resume writing tips
Real-time implementation projects, course exercises, assignments and
complete access to expert faculty

Please contact for more details

KITS Online Technologies
Ph : +44 7519348128
Mail :kits.deep...@gmail.com
i...@kitsonlinetrainings.com
Website : www.kitsonlinetrainings.com 




--
View this message in context: 
http://karaf.922171.n3.nabble.com/Abinitio-Online-Training-From-India-UK-US-Canada-Australia-tp4039312.html
Sent from the Karaf - User mailing list archive at Nabble.com.


Security in Module

2015-03-25 Thread Andrew Phillips
I am hoping to utilize the Karaf security module in a bundle of mine.   What is 
the best way, if there is an example, of authenticating a user if i have a user 
name and password and getting back the roles so i can use the built in security 
module?

I appreciate the help.   Love the product, I am using Karaf 3.0.3.


Thanks!
Andy P




[ANN] Java event this summer in Barcelona. CFP is open. ( jbcnconf.com )

2015-03-25 Thread Jonathan Vila Lopez
Hi all.

I'm one of the organizers of the BarcelonaJUG and this summer we are
running a great Java & JVM event in Barcelona ( Spain )

This event will be the first big Java and JVM conference in Spain, with 2
full days to share knowledge and experiences, to meet enthusiasts and
geeks, and to learn about new technologies.

Barcelona will host this great event next 26th and 27th of June 2015.

We would like to invite the members of the Karaf community to submit papers
to the event, and of course consider to go to this event.


   www.JBCNconf.com


Kind regards & thank you.

 
 
 
​​



Re: 3.0.3 - Maven: Unknown packaging [feature | kar | karaf-assembly]

2015-03-25 Thread Erwin Hogeweg
Excellent catch. Thanks a bunch.

Erwin

> On Mar 25, 2015, at 08:33, Charlie Mordant  wrote:
> 
> Hi,
> 
> You forgot the true declaration in your karaf-maven-plugin.
> 
> Regards
> 
> 2015-03-25 11:56 GMT+01:00 Erwin Hogeweg  >:
> Hi JB,
> 
> Please find pom below.
> 
> 
> 
> http://maven.apache.org/POM/4.0.0 
> " 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
> " 
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
>  
> http://maven.apache.org/xsd/maven-4.0.0.xsd 
> ">
> 4.0.0
> 
> 
> com.myproject.blah
> com.myproject.blah.server.parent
> 3.1.0-SNAPSHOT
> 
> ../com.myproject.blah.server.parent/pom.xml
> 
> 
> 
> com.myproject.blah
> my-project
> 1.0.0-SNAPSHOT
> feature
> kar
> 
> 
>  My Feature
> 
> 
> UTF-8
> 
> 
> 
> 
> 
> com.myproject.blah
> artifact-1
> ${artifacts-1.version}
> 
> 
> 
> 
> 
> 
> 
> 
> 
> src/main/feature
> true
> 
> 
> 
> 
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> 1.7
> 1.7
> 
> 
> 
> 
> org.apache.karaf.tooling
> karaf-maven-plugin
> ${karaf.version}
> 
> 
> features
> compile
> 
> features-generate-descriptor
> 
> 
> 30
> src/feature.xml
> 
> 
> 
> 
> 
> 
> 
> 
> > On Mar 25, 2015, at 02:29, Jean-Baptiste Onofré  > > wrote:
> >
> > Hi Erwin,
> >
> > can you share your pom ? What's the goal that you use ?
> >
> > Regards
> > JB
> >
> > On 03/25/2015 05:10 AM, Erwin Hogeweg wrote:
> >> Hi,
> >>
> >> I am utterly confused re. the use of the karaf-maven-plugin. This
> >> website shows 3 possible packagings: kar, feature and karaf-assembly:
> >>
> >> http://karaf.apache.org/manual/latest/developers-guide/karaf-maven-plugin.html
> >>  
> >> 
> >>
> >> Ea. of them generates an 'Unknown packaging’ error though.
> >>
> >> Am I not looking at the correct documentation?
> >>
> >> Please advise.
> >>
> >> Thanks,
> >>
> >> Erwin
> >
> > --
> > Jean-Baptiste Onofré
> > jbono...@apache.org 
> > http://blog.nanthrax.net 
> > Talend - http://www.talend.com 
> 
> 
> 
> 
> -- 
> Charlie Mordant
> 
> Full OSGI/EE stack made with Karaf: 
> https://github.com/OsgiliathEnterprise/net.osgiliath.parent 
> 



Re: 3.0.3 - Maven: Unknown packaging [feature | kar | karaf-assembly]

2015-03-25 Thread Charlie Mordant
Hi,

You forgot the true declaration in your karaf-maven-plugin.

Regards

2015-03-25 11:56 GMT+01:00 Erwin Hogeweg :

> Hi JB,
>
> Please find pom below.
>
>
> 
> http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
> http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/maven-4.0.0.xsd";>
> 4.0.0
>
> 
> com.myproject.blah
> com.myproject.blah.server.parent
> 3.1.0-SNAPSHOT
>
> ../com.myproject.blah.server.parent/pom.xml
> 
>
>
> com.myproject.blah
> my-project
> 1.0.0-SNAPSHOT
> feature
> kar
> 
>
>  My Feature
> 
> 
> UTF-8
> 
>
> 
> 
> 
> com.myproject.blah
> artifact-1
> ${artifacts-1.version}
> 
>
> 
> 
> 
>
> 
> 
> 
> src/main/feature
> true
> 
> 
> 
> 
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> 1.7
> 1.7
> 
> 
> 
> 
> org.apache.karaf.tooling
> karaf-maven-plugin
> ${karaf.version}
> 
> 
> features
> compile
> 
> features-generate-descriptor
> 
> 
> 30
> src/feature.xml
> 
> 
> 
> 
> 
> 
> 
>
> > On Mar 25, 2015, at 02:29, Jean-Baptiste Onofré  wrote:
> >
> > Hi Erwin,
> >
> > can you share your pom ? What's the goal that you use ?
> >
> > Regards
> > JB
> >
> > On 03/25/2015 05:10 AM, Erwin Hogeweg wrote:
> >> Hi,
> >>
> >> I am utterly confused re. the use of the karaf-maven-plugin. This
> >> website shows 3 possible packagings: kar, feature and karaf-assembly:
> >>
> >>
> http://karaf.apache.org/manual/latest/developers-guide/karaf-maven-plugin.html
> >>
> >> Ea. of them generates an 'Unknown packaging’ error though.
> >>
> >> Am I not looking at the correct documentation?
> >>
> >> Please advise.
> >>
> >> Thanks,
> >>
> >> Erwin
> >
> > --
> > Jean-Baptiste Onofré
> > jbono...@apache.org
> > http://blog.nanthrax.net
> > Talend - http://www.talend.com
>
>


-- 
Charlie Mordant

Full OSGI/EE stack made with Karaf:
https://github.com/OsgiliathEnterprise/net.osgiliath.parent


Re: 3.0.3 - Maven: Unknown packaging [feature | kar | karaf-assembly]

2015-03-25 Thread Erwin Hogeweg
Hi JB,

Please find pom below.



http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
4.0.0


com.myproject.blah
com.myproject.blah.server.parent
3.1.0-SNAPSHOT
../com.myproject.blah.server.parent/pom.xml



com.myproject.blah
my-project
1.0.0-SNAPSHOT
feature
kar


 My Feature


UTF-8





com.myproject.blah
artifact-1
${artifacts-1.version}









src/main/feature
true




org.apache.maven.plugins
maven-compiler-plugin
3.1

1.7
1.7




org.apache.karaf.tooling
karaf-maven-plugin
${karaf.version}


features
compile

features-generate-descriptor


30
src/feature.xml








> On Mar 25, 2015, at 02:29, Jean-Baptiste Onofré  wrote:
> 
> Hi Erwin,
> 
> can you share your pom ? What's the goal that you use ?
> 
> Regards
> JB
> 
> On 03/25/2015 05:10 AM, Erwin Hogeweg wrote:
>> Hi,
>> 
>> I am utterly confused re. the use of the karaf-maven-plugin. This
>> website shows 3 possible packagings: kar, feature and karaf-assembly:
>> 
>> http://karaf.apache.org/manual/latest/developers-guide/karaf-maven-plugin.html
>> 
>> Ea. of them generates an 'Unknown packaging’ error though.
>> 
>> Am I not looking at the correct documentation?
>> 
>> Please advise.
>> 
>> Thanks,
>> 
>> Erwin
> 
> -- 
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com



Re: karaf.out log to file using logback.

2015-03-25 Thread Morgan Hautman

Hi Srikanth.

This is the Jira about it -> 
https://issues.apache.org/jira/browse/KARAF-3042?jql=text%20~%20%22karaf.out%22


On 25/03/2015 10:07, Srikanth Hugar wrote:
Could not find KARAF_REDIRECT variable in bin/start script. I am using 
karaf 3.0.0.

KARAF_REDIRECT variable is also applicable for 3.0.0?

Srikanth Hugar
www.gharki.com 



On Wed, Mar 25, 2015 at 12:55 PM, Jean-Baptiste Onofré 
mailto:j...@nanthrax.net>> wrote:


Hi Srikanth

I did the change to avoid to redirect the output to karaf.out. You
can use the KARAF_REDIRECT env variable. You can see the usage in
bin/start script.

Regards
JB



Sent from my Samsung device


 Original message 
From: Srikanth Hugar mailto:srikanth.hu...@gmail.com>>
Date: 25/03/2015 07:58 (GMT+01:00)
To: user@karaf.apache.org 
Subject: karaf.out log to file using logback.


Hello,

Currently when i start karaf from *..bin\start* command,
*karaf.log* file creates automatically and it grows in in
production environment.
I already have the logback configuration for different logging,
how can i put contents of *karaf.out *log to file and configure
not to create the *karaf.out* file.

Best Regards,
Srikanrh.






Re: karaf.out log to file using logback.

2015-03-25 Thread Srikanth Hugar
Could not find  KARAF_REDIRECT variable in bin/start script. I am using
karaf 3.0.0.
KARAF_REDIRECT variable is also applicable for 3.0.0?

Srikanth Hugar
www.gharki.com



On Wed, Mar 25, 2015 at 12:55 PM, Jean-Baptiste Onofré 
wrote:

> Hi Srikanth
>
> I did the change to avoid to redirect the output to karaf.out. You can use
> the KARAF_REDIRECT env variable. You can see the usage in bin/start script.
>
> Regards
> JB
>
>
>
> Sent from my Samsung device
>
>
>  Original message 
> From: Srikanth Hugar 
> Date: 25/03/2015 07:58 (GMT+01:00)
> To: user@karaf.apache.org
> Subject: karaf.out log to file using logback.
>
>
> Hello,
>
>   Currently when i start karaf from *..bin\start* command, *karaf.log*
> file creates automatically and it grows in in production environment.
> I already have the logback configuration for different logging, how can i
> put contents of *karaf.out *log to file and configure not to create the
> *karaf.out* file.
>
> Best Regards,
> Srikanrh.
>


Re: Retrieve reference of JMS ConnectionFactory

2015-03-25 Thread Sobkowiak Krzysztof
Hi

I think, you do everything correct. You can test the connection factory 
successful. The way you reference the connection factory is correct too. You 
can have the problem
reported  for ARIES. I have tested simillar problem for ServiceMix yesterday 
and I have found this problem occurs only in Karaf 2.3.x. It would clarify why 
do you have this
problem using Karaf 2.3.6. In Karaf 2.4.x and 3.0.x it seems to be fixed. 
Probably it has been fixed in the newer version for Felix or Arieused in 2.4+.

This problem usually occurs while  updating the bundle. You write you have the 
problem while deploying (also no update should occur). I can remember, one of 
the Karaf
releases  from the line 2.3.x had a problem with hot deployment - it looked 
like the bundle was refreshed while deploying. Could you please test it on the 
newer versions of
2.3.x (e.g. 2.3.10)?

Regards
Krzysztof

On 25.03.2015 09:11, niels wrote:
> Hey Krzysztof,
>
> I forgot to mention versions:
> - Karaf 2.3.6
> - ActiveMQ 5.9.0
> - Camel 2.13.2
>
> I also installed the JMS bundle and was able to list the connection factory:
>
> karaf@flux>jms:connectionfactories
> JMS Connection Factory
> localhost
>
> I'm also able to list the queues from AMQ without ClassNotFoundException you
> first received.
>
> karaf@flux>jms:queues localhost
> JMS Queues
> ID_550952684d6163871467_f934b9e9-fd31-470b-a924-1a7c306f6b22
> tracing
> elasticsearch_log
> ID_550952684d6163871467_9701e4b3-37ef-4934-8882-deddb2d033fa
> invoicing
>
> The only thing I try to do in the second bundle is to capture a reference to
> the exported ConnectionFactory like I mentioned earlier:
>
>  interface="javax.jms.ConnectionFactory"/>
>
> The blueprint file are deployed by the dropping them in de deploy directory
> for hot deploys. 
>
>
>
>
>
>
> --
> View this message in context: 
> http://karaf.922171.n3.nabble.com/Retrieve-reference-of-JMS-ConnectionFactory-tp4039259p4039286.html
> Sent from the Karaf - User mailing list archive at Nabble.com.

-- 
Krzysztof Sobkowiak

JEE & OSS Architect
Senior Solution Architect @ Capgemini SSC 
Apache ServiceMix  Committer & PMC


Re: Retrieve reference of JMS ConnectionFactory

2015-03-25 Thread niels
Hey Krzysztof,

I forgot to mention versions:
- Karaf 2.3.6
- ActiveMQ 5.9.0
- Camel 2.13.2

I also installed the JMS bundle and was able to list the connection factory:

karaf@flux>jms:connectionfactories
JMS Connection Factory
localhost

I'm also able to list the queues from AMQ without ClassNotFoundException you
first received.

karaf@flux>jms:queues localhost
JMS Queues
ID_550952684d6163871467_f934b9e9-fd31-470b-a924-1a7c306f6b22
tracing
elasticsearch_log
ID_550952684d6163871467_9701e4b3-37ef-4934-8882-deddb2d033fa
invoicing

The only thing I try to do in the second bundle is to capture a reference to
the exported ConnectionFactory like I mentioned earlier:



The blueprint file are deployed by the dropping them in de deploy directory
for hot deploys. 






--
View this message in context: 
http://karaf.922171.n3.nabble.com/Retrieve-reference-of-JMS-ConnectionFactory-tp4039259p4039286.html
Sent from the Karaf - User mailing list archive at Nabble.com.


RE: karaf.out log to file using logback.

2015-03-25 Thread Jean-Baptiste Onofré


Hi Srikanth
I did the change to avoid to redirect the output to karaf.out. You can use the 
KARAF_REDIRECT env variable. You can see the usage in bin/start script.
RegardsJB


Sent from my Samsung device

 Original message 
From: Srikanth Hugar  
Date: 25/03/2015  07:58  (GMT+01:00) 
To: user@karaf.apache.org 
Subject: karaf.out log to file using logback. 


Hello,
  Currently when i start karaf from ..bin\start command, karaf.log file creates 
automatically and it grows in in production environment.I already have the 
logback configuration for different logging, how can i put contents of 
karaf.out log to file and configure not to create the karaf.out file.
Best Regards,Srikanrh.



karaf.out log to file using logback.

2015-03-25 Thread Srikanth Hugar
Hello,

  Currently when i start karaf from *..bin\start* command, *karaf.log* file
creates automatically and it grows in in production environment.
I already have the logback configuration for different logging, how can i
put contents of *karaf.out *log to file and configure not to create the
*karaf.out* file.

Best Regards,
Srikanrh.