ICEfaces
  1. ICEfaces
  2. ICE-5245

Update ICEFaces to work with Spring Security 3.0

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 1.8.2-EE-GA
    • Fix Version/s: 1.8.2-EE-GA_P01, 1.8.3
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEFaces + Spring Security 3.0
    • Affects:
      Compatibility/Configuration

      Description

      An update is required to detect Spring Security 3.0. A user patch has been located:

      static {
              try {
                  AcegiAuthenticationClass = Class.forName("org.acegisecurity.Authentication");
                  AuthenticationClass = AcegiAuthenticationClass;
                  Log.debug("Acegi Security detected.");
              } catch (Throwable t) {
                  Log.debug("Acegi Security not detected.");
              }
              try {
                  SpringAuthenticationClass = Class.forName("org.springframework.security.Authentication");
                  AuthenticationClass = SpringAuthenticationClass;
                  Log.debug("Spring Security detected.");
              } catch (Throwable t) {
                  Log.debug("Spring Security not detected.");
              }

             // New code below

              try {
                  SpringAuthenticationClass = Class.forName("org.springframework.security.core.Authentication");
                  AuthenticationClass = SpringAuthenticationClass;
                  Log.debug("Spring Security 3 detected.");
              } catch (Throwable t) {
                  Log.debug("Spring Security 3 not detected.");
              }

             // end patch

          }

        Activity

        Greg Dick created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 1.8.2-EE-GA_P01 [ 10220 ]
        Fix Version/s 1.8.3 [ 10211 ]
        Affects [Compatibility/Configuration]
        Ken Fyten made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Greg Dick
          • Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: