shiro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken in Nashua <>
Subject RE: adding roles and adding permissions
Date Thu, 21 Mar 2013 22:53:38 GMT
Well this is my shiro configuration.

The fact that i decided to operate CLASS:PERM:INSTANCE as *:PERM:*

leaves me to believe that the following shiro configuration is sufficient?

        configuration.add(factory.createChain("/perms/create/**").add(factory.perms(), "*:create:*").build());
        configuration.add(factory.createChain("/perms/read/**").add(factory.perms(), "*:read:*").build());
        configuration.add(factory.createChain("/perms/update/**").add(factory.perms(), "*:update:*").build());
        configuration.add(factory.createChain("/perms/delete/**").add(factory.perms(), "*:delete:*").build());

Do i need to add fixtures to the configuration for my TeamYear class? or other classes for
that matter ?

Thanks for any tips.

I guess I am wondering if I need to tell shiro anything else. 

But that still doesnt explain to me why tapestry-security service is not getting triggered.

View raw message