martinspielmann / nexus3-crowd-plugin

Sonatype Nexus plugin for Atlassian Crowd integration
Apache License 2.0
39 stars 15 forks source link

Could not add external role mapping to Crowd #15

Closed gmshake closed 7 years ago

gmshake commented 7 years ago

Login with admin, navigate to Security / Roles, create Crowd role mapping, select dropdown menu Mapped Role, then UI alert "Authorization-manager with source 'Crowd' could not be found".

nexus.log 2016-11-10 09:39:37,210+0800 ERROR [pool-425-thread-7] admin org.sonatype.nexus.extdirect.internal.ExtDirectServlet - Failed to invoke action method:coreui_Role.readFromSource, java-method: org.sonatype.nexus.coreui.RoleComponent.readFromSource org.sonatype.nexus.security.authz.NoSuchAuthorizationManagerException: Authorization-manager with source 'Crowd' could not be found at org.sonatype.nexus.security.internal.DefaultSecuritySystem.getAuthorizationManager(DefaultSecuritySystem.java:496) [na:na] at org.sonatype.nexus.security.internal.DefaultSecuritySystem.listRoles(DefaultSecuritySystem.java:164) [na:na] at org.sonatype.nexus.security.SecuritySystem$listRoles$3.call(Unknown Source) [na:na] at org.sonatype.nexus.coreui.RoleComponent.readFromSource(RoleComponent.groovy:109) [na:na] at org.sonatype.nexus.validation.internal.ValidationInterceptor.invoke(ValidationInterceptor.java:53) [na:na] at org.apache.shiro.guice.aop.AopAllianceMethodInvocationAdapter.proceed(AopAllianceMethodInvocationAdapter.java:49) [na:na] at org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor.invoke(AuthorizingAnnotationMethodInterceptor.java:68) [na:na] ...