ICEfaces
  1. ICEfaces
  2. ICE-3592

support isUserInRole with springsecurity

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces, spring-security-core-2.0.3.jar

      Description


      isUserInRole fails with spring-security-core-2.0.3.jar.

      This is due to the following repackaging:

      import org.springframework.security.Authentication;
      import org.springframework.security.GrantedAuthority;

      A SpringAuthWrapper can be created to adapt to this API.

        Activity

        Ted Goddard created issue -
        Hide
        Ted Goddard added a comment -

        I have verified that the application functions once a new adaptor and BridgeExternalContext is modified to instantiate the new adaptor.

        Show
        Ted Goddard added a comment - I have verified that the application functions once a new adaptor and BridgeExternalContext is modified to instantiate the new adaptor.
        Ken Fyten made changes -
        Field Original Value New Value
        Fix Version/s 1.7.2 [ 10130 ]
        Assignee Priority P2
        Assignee Ted Goddard [ ted.goddard ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #17685 Thu Oct 02 09:34:03 MDT 2008 ted.goddard spring and acegi security support (ICE-3592)
        Files Changed
        Commit graph ADD /icefaces/branches/icefaces-1.7/icefaces/lib/spring-security-core-2.0.3.jar
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/env/AcegiAuthWrapper.java
        Commit graph ADD /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/env/SpringAuthWrapper.java
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/context/BridgeExternalContext.java
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/lib/versions-licenses.html
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #17686 Thu Oct 02 09:56:43 MDT 2008 ted.goddard spring and acegi security support (ICE-3592)
        Files Changed
        Commit graph ADD /icefaces/trunk/icefaces/lib/spring-security-core-2.0.3.jar
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/BridgeExternalContext.java
        Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/env/SpringAuthWrapper.java
        Commit graph MODIFY /icefaces/trunk/icefaces/lib/versions-licenses.html
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/env/AcegiAuthWrapper.java
        Hide
        Ted Goddard added a comment -

        verified by customer. acegi test case must be modified for spring test.

        Show
        Ted Goddard added a comment - verified by customer. acegi test case must be modified for spring test.
        Ted Goddard made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2
        Assignee Ted Goddard [ ted.goddard ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: