configuration.add(factory.createChain("/roles/anonymous/**").add(factory.roles(), "anonymous").build()); configuration.add(factory.createChain("/roles/administrator/**").add(factory.roles(), "administrator").build()); 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());
I hope this will lead me on the right track. and the annotations will lead me out of the woods