Results 1 to 2 of 2

Thread: Problem with acegi taglib

  1. #1
    Join Date
    Feb 2006
    Posts
    1

    Default Problem with acegi taglib

    I have a problem, using acegi taglib to protect some jsp fragments:

    following code on my jsp page page.jsp

    <authz:authorize ifAllGranted="SOME_ROLE">
    <input type="button" value="delete" onclick="...">
    </authz:authorize>

    works fine if I open page.jsp directly in the browser, but does not work (the button is hidden although user has a permission SOME_ROLE) when i open this page as a dialog (window.showModelessDialog()) from another page, though I logined as the same user.
    Last edited by daria; Feb 11th, 2006 at 09:40 AM.

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    Check the debug logs to ensure the spawned web page is authenticating as the same user as the original page. It might be a sessionID issue.
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •