Results 1 to 2 of 2

Thread: Spring web flow + spring security with custom permissions

  1. #1
    Join Date
    Oct 2010
    Posts
    1

    Default Spring web flow + spring security with custom permissions

    My application implementation uses custom authentication filters to add custom permissions to the granted authorities of the user like PERMISSION_READ, PERMISSION UPDATE etc. In web flow the secured attributes tag - <secured attributes="" /> always considers the attributes which is defined in the access parameter in the security context.xml .. for example <http auto-config="false" access-denied-page ="xxx.jsp" entry-point-ref=".....">
    <intercept-url pattern="/**" access="ROLE_ADMIN" />
    </http>
    i.e Only <secured attributes="ROLE_ADMIN" /> works fine, if i give <secured attributes="PERMISSION_READ" />always access is denied.
    Please suggest as to how the custom defined permissions can be used in web flow?

    Thank you,
    Rambabu

  2. #2
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    Check this FAQ.
    Spring - by Pivotal
    twitter @tekul

Posting Permissions

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