我正在使用Jenkins 2.190.3。当我尝试将身份验证与 GitHub OAuth插件版本0.33。当我尝试配置相同的内容时,出现如下错误
java.lang.ClassCastException: org.acegisecurity.providers.anonymous.AnonymousAuthenticationToken cannot be cast to org.jenkinsci.plugins.GithubAuthenticationToken
at org.jenkinsci.plugins.GithubSecurityRealm.loadGroupByGroupname(GithubSecurityRealm.java:784)
at org.jenkinsci.plugins.matrixauth.AuthorizationContainerDescriptor.doCheckName_(AuthorizationContainerDescriptor.java:169)
at hudson.security.GlobalMatrixAuthorizationStrategy$DescriptorImpl.doCheckName(GlobalMatrixAuthorizationStrategy.java:222)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
我在这里想念的东西。