Uploaded image for project: 'SX Spring Security Extension'
  1. SX Spring Security Extension
  2. SES-29

java.lang.NoSuchMethodError in constructor of KerberosServiceRequestToken

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: krb-1.0.0.M1
    • Fix Version/s: krb-1.0.0.M2
    • Component/s: kerberos
    • Labels:
      None
    • Environment:
      Windows 7
      Windows 2008 R2

      Description

      I don't have a clue why this happens, but i get the following NoSuchMethodError on the server and on my dev machine:

      java.lang.NoSuchMethodError: org.springframework.security.authentication.AbstractAuthenticationToken.<init>(Ljava/util/List;)V
      org.springframework.security.extensions.kerberos.KerberosServiceRequestToken.<init>(KerberosServiceRequestToken.java:69)
      org.springframework.security.extensions.kerberos.web.SpnegoAuthenticationProcessingFilter.doFilter(SpnegoAuthenticationProcessingFilter.java:114)
      org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
      [...]

      I tried M1 and latest subversion together with the 3.0.0.RELEASE version of Spring Security from the Spring Repository.

      After changing super(null); to super(Collections.<GrantedAuthority>emptyList()); in line 69 the exception was gone.

        Attachments

          Activity

            People

            • Assignee:
              mikewiesner Mike Wiesner
              Reporter:
              harald Harald Radi
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: