You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by Les Hazlewood <lh...@apache.org> on 2013/04/17 03:30:28 UTC
Re: can anyone explain this "/user/** = authc"
/user/** = authc
means:
Any user accessing the /user url or or any path underneath it must be
authenticated (authc = AUTHentiCated for short). If they're not
authenticated, the would likely be redirected to the default login page.
--
Les Hazlewood | @lhazlewood
CTO, Stormpath | http://stormpath.com | @goStormpath | 888.391.5282
On Sat, Mar 16, 2013 at 11:33 AM, nhhockeyplayer nashua <
nhhockeyplayer@hotmail.com> wrote:
>
>
> I have read thru the abstract docs. I see there is a lack of meaty
> specific modelings of real world multi-dimensional examples...
>
> Can anyone explain what this does ?
>
> I am aware of the following filters
>
> /**
> * SHIRO FACTORY DEFAULT FILTERS
> *
> * anon - anonymous filter
> * authc - forms authentication filter
> * basic = basic http authentication filter
> * notfound - not found filter
> * perms - permissions authorization filter
> * port - port filter
> * roles - roles authorization filter
> * user - user filter
> */
>
> But I still dont understand what the implications of the statement below
> means ?
> Can anyone offer me a tip?
>
> SHIRO.INI version
> /user/** = authc
>
> JAVA LANGUAGE version
> configuration.add("user-user", new FilterChainDefinition("/user/**",
> "authc"));
>