tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Soto <asot...@gmail.com>
Subject Re: Apache Shiro
Date Wed, 19 Nov 2014 10:15:01 GMT
Yes, the problem is that we want to create a REST project and we want to
use stateless security with tokens and I am not sure if we will be able to
do this in Shiro in some easy way.

El Wed Nov 19 2014 at 10:58:30 AM, Romain Manni-Bucau (<
rmannibucau@gmail.com>) va escriure:

> With JL we used a @Singleton @Startup to set up it. That said default
> usage is great and using and using a localized "bridge" to CDI is the
> most maintainable way to proceed ATM IMHO (ie using BeanProvider)
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2014-11-19 10:48 GMT+01:00 Alex Soto <asotobu@gmail.com>:
> > I have been reading and it seems that I will not be able to use it
> without
> > setting a filter in web.xml. Maybe I can create an ApplicationScope bean
> > and create the DefaultSecuritymanager, but not sure if this is going to
> > become unmaintainable or not.
> >
> > El Tue Nov 18 2014 at 4:20:35 PM, Alex Soto (<asotobu@gmail.com>) va
> > escriure:
> >
> >> Thank you so much I will take a look :)
> >>
> >> El Tue Nov 18 2014 at 3:41:11 PM, Alexander Wagner (<
> >> alexander.wagner@inside-m2m.de>) va escriure:
> >>
> >> Am 18.11.2014 um 15:39 schrieb Alexander Wagner:
> >>> > Am 18.11.2014 um 15:30 schrieb Alex Soto:
> >>> >> Hello,
> >>> >>
> >>> >> I want to create an application using jax-rs2 and securized by
using
> >>> >> Apache
> >>> >> Shiro. Do you know any example on how to do this? I have read that
> you
> >>> >> need
> >>> >> to create a filter, and listener and so on, but in case of jax-rs
I
> >>> don't
> >>> >> think it has much sense to do this and because we are under CDI
we
> can
> >>> >> register the required classes using CDI instead of relying to
> web.xml.
> >>> >>
> >>> >> Is there any way to do this?
> >>> >>
> >>> >
> >>> > This might also be a good starting point:
> >>> > https://cwiki.apache.org/confluence/display/SHIRO/
> Session+Management#
> >>> SessionManagement-StatelessApplications%28Sessionless%29
> >>> >
> >>> >
> >>> > Best Regards
> >>> > Alexander Wagner
> >>> >
> >>> ok its not cdi related;-)
> >>>
> >>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message