Daniel:

I am trying to get the roles. I know that I get the principal out of the
context, but how do I get the roles? I was debugging it, and I see that the
principal is an instance of MemoryUser.

Thanks,

Juan

dkulp wrote:
> 
> On Tuesday 06 January 2009 1:22:15 pm juan.velez wrote:
>> But what about if I am not using J2EE? I mean, I am using CXF and Spring.
>> I
>> would not want to add J2EE jars only for this. Am I screwed?
> 
> You need the geronimo-annotation_1.0_spec-1.1.1.jar jar that we ship.
> 
> Dan
> 
> 
>>
>> Thanks,
>>
>> Juan
>>
>> Jeff Walker-2 wrote:
>> > I believe you need to use:
>> >
>> > import javax.annotation.Resource;
>> >
>> > Which is part of the JEE 5 jars.
>> >
>> > -jeff
>> >
>> >
>> >
>> >
>> > On Tue, Jan 6, 2009 at 1:07 PM, juan.velez <[email protected]>
>> >
>> > wrote:
>> >> I am trying to use the WebServiceContext and from what I have read it
>> >> indicates you need to annotate it within your SEI implementation class
>> >> with
>> >> the @Resource annotation. However, I do not see to find this
>> annotation
>> >> in
>> >> any API Doc (CXF or Spring or JDK). Where is it?
>> >>
>> >> Thank you,
>> >>
>> >> Juan
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/what%27s-the-package-for-%40Resource-annotation--t
>> >>p21315655p21315655.html Sent from the cxf-user mailing list archive at
>> >> Nabble.com.
> 
> 
> 
> -- 
> Daniel Kulp
> [email protected]
> http://dankulp.com/blog
> 
> 

-- 
View this message in context: 
http://www.nabble.com/what%27s-the-package-for-%40Resource-annotation--tp21315655p21316527.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to