Sure - URL filter chains aren't really related to realms.  You can use any
realm and the filter chains will work.

The 'authc' filter you specified in the /overview.xhtml url means that the
user has to be authenticated.  This means that at least one of your
configured realms must be able to authenticate a user.

Are you using the new org.apache.shiro.realm.ldap.JndiLdapRealm class that
came out in Shiro 1.1?  Also, it would help to see relevant parts of your
INI configuration as well (e.g. [main] section).

Regards,

-- 
Les Hazlewood
Founder, Katasoft, Inc.
Application Security Products & Professional Apache Shiro Support and
Training:
http://www.katasoft.com

On Mon, Nov 8, 2010 at 4:51 AM, 0xsven <[email protected]> wrote:

>
> Hi I would like to use URL restrictions. But since I am using an ldap realm
> those don't work any more.
>
> [urls]
>        /welcome.xhtml = anon
>        /overview.xhtml = authc
>
> Is there a possibility to use them with the ldap realm?
>
> cheers
> --
> View this message in context:
> http://shiro-user.582556.n2.nabble.com/URL-restrictions-tp5716728p5716728.html
> Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to