diff --git a/pom.xml b/pom.xml index aae6635..b645ac1 100644 --- a/pom.xml +++ b/pom.xml @@ -75,7 +75,7 @@ 999999-SNAPSHOT - 2.475 + 2.476 2265.v3da_49c8134d6 17 diff --git a/src/test/java/org/jenkinsci/plugins/builduser/varsetter/impl/UserIdCauseDeterminantSamlTest.java b/src/test/java/org/jenkinsci/plugins/builduser/varsetter/impl/UserIdCauseDeterminantSamlTest.java index 44d9c9e..0093dad 100644 --- a/src/test/java/org/jenkinsci/plugins/builduser/varsetter/impl/UserIdCauseDeterminantSamlTest.java +++ b/src/test/java/org/jenkinsci/plugins/builduser/varsetter/impl/UserIdCauseDeterminantSamlTest.java @@ -1,7 +1,7 @@ package org.jenkinsci.plugins.builduser.varsetter.impl; import hudson.model.Cause.UserIdCause; -import hudson.security.ChainedServletFilter; +import hudson.security.ChainedServletFilter2; import hudson.security.SecurityRealm; import jenkins.model.IdStrategy; import org.easymock.EasyMock; @@ -37,7 +37,7 @@ public Map runSamlSecurityRealmTest(JenkinsRule r, String userid IdStrategy strategy = new IdStrategy.CaseSensitive(); EasyMock.expect(realm.getUserIdStrategy()).andReturn(strategy).anyTimes(); EasyMock.expect(realm.getSecurityComponents()).andReturn(new SecurityRealm.SecurityComponents()); - EasyMock.expect(realm.createFilter(anyObject(FilterConfig.class))).andReturn(new ChainedServletFilter()); + EasyMock.expect(realm.createFilter(anyObject(FilterConfig.class))).andReturn(new ChainedServletFilter2()); EasyMock.expect(realm.getUsernameCaseConversion()).andReturn(caseConversion); EasyMock.expect(realm.loadUserByUsername2(userid)).andReturn(user).anyTimes();