RE: Authentication-fw: two quick questions

2006-05-23 Thread Andrew Stevens
From: footh <[EMAIL PROTECTED]> Date: Tue, 23 May 2006 10:22:59 -0700 (PDT) I've newly implemented cocoon's auth-fw and have a couple of questions. Unfortunately, I've not used the auth framework much, so I can't help with the first one. The second question has to do with roles. I have a p

RE: Authentication-fw: two quick questions

2006-05-24 Thread footh
Thanks for the reply. I was hoping for something a little bit simpler than creating or modifying a transformer, like something that was configurable in the sitemap. I'll take a look at those options though. Every page flows through a single javaflow so I could check for the Admin role there and

RE: Authentication-fw: two quick questions

2006-05-24 Thread Andrew Stevens
From: footh <[EMAIL PROTECTED]> Date: Wed, 24 May 2006 09:24:51 -0700 (PDT) Thanks for the reply. I was hoping for something a little bit simpler than creating or modifying a transformer, like something that was configurable in the sitemap. I'll take a look at those options though. Another op

RE: Authentication-fw: two quick questions

2006-05-25 Thread footh
Andrew, thanks again for the help. I actually did come up with a nice solution. I created a custom Selector called "RoleSelector". The content of the select method is simply this: boolean bResult = false; try { ContextManager contextMgr = (ContextManager)manager.lookup(ContextManager.RO