Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: krb-1.0.0.M2
    • Fix Version/s: krb-1.0.0.RC1
    • Component/s: kerberos
    • Labels:
      None
    • Environment:
      Spring Security 3.1.0.RC2

      Description

      Since Base64 has been moved from org.springframework.security.core.codec through org.springframework.security.crypto.codec package, SpnegoAuthenticationProcessingFilter throws NoClassDefFoundError with Spring Security 3.1.0.RC2.

      Stack trace can be found below:

      java.lang.NoClassDefFoundError: org/springframework/security/core/codec/Base64
      at org.springframework.security.extensions.kerberos.web.SpnegoAuthenticationProcessingFilter.doFilter(SpnegoAuthenticationProcessingFilter.java:126)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:340)
      at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:340)
      at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:175)
      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

        Activity

        Hide
        Gerardo Pucheta Figueroa added a comment -

        any status on this??

        Show
        Gerardo Pucheta Figueroa added a comment - any status on this??
        Hide
        Jakob Hatzl added a comment -

        i also ran into this issue and wanted ask if and when this would be fixed or if i could help fixing this.

        Show
        Jakob Hatzl added a comment - i also ran into this issue and wanted ask if and when this would be fixed or if i could help fixing this.
        Hide
        Rob Winch added a comment -
        Show
        Rob Winch added a comment - Pull request submitted https://github.com/SpringSource/spring-security-kerberos/pull/2
        Hide
        Patricia B added a comment -

        I ran into the same issue. I am using Spring security - 3.1.0.RELEASE, and the kerberos plugin doesn't work because of this same issue. I wonder if this issue will be fixed, or whether there is any intent to maintain and develop the kerberos plugin further? thx.

        Show
        Patricia B added a comment - I ran into the same issue. I am using Spring security - 3.1.0.RELEASE, and the kerberos plugin doesn't work because of this same issue. I wonder if this issue will be fixed, or whether there is any intent to maintain and develop the kerberos plugin further? thx.
        Hide
        Luke Taylor added a comment -

        Not a bug, since this is obviously due to a version incomatibility and the fact that the kerberos code was not updated to compile against 3.1.

        I've applied a modified version of Rob's patch to the master branch.

        Show
        Luke Taylor added a comment - Not a bug, since this is obviously due to a version incomatibility and the fact that the kerberos code was not updated to compile against 3.1. I've applied a modified version of Rob's patch to the master branch.

          People

          • Assignee:
            Luke Taylor
            Reporter:
            Muammer Yucel
          • Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: