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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: