org.apache.shiro.authz.AuthorizationException: User is not permitted: nexus:repository-admin:simplehosted1:read

Sonatype JIRA | Michael Prescott | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Root Cause Analysis

    1. org.apache.shiro.authz.AuthorizationException

      User is not permitted: nexus:repository-admin:simplehosted1:read

      at org.sonatype.security.authorization.ExceptionCatchingModularRealmAuthorizer.checkPermission()
    2. ${project.groupId}:${project.artifactId}
      ExceptionCatchingModularRealmAuthorizer.checkPermissions
      1. org.sonatype.security.authorization.ExceptionCatchingModularRealmAuthorizer.checkPermission(ExceptionCatchingModularRealmAuthorizer.java:66)[na:na]
      2. org.sonatype.security.authorization.ExceptionCatchingModularRealmAuthorizer.checkPermissions(ExceptionCatchingModularRealmAuthorizer.java:84)[na:na]
      2 frames
    3. Shiro
      DelegatingSubject.checkPermissions
      1. org.apache.shiro.mgt.AuthorizingSecurityManager.checkPermissions(AuthorizingSecurityManager.java:145)[na:na]
      2. org.apache.shiro.subject.support.DelegatingSubject.checkPermissions(DelegatingSubject.java:215)[org.apache.shiro.core:1.2.3]
      2 frames
    4. org.sonatype.nexus
      RepositoryManagerImpl.get
      1. org.sonatype.nexus.repository.security.SecurityHelper.ensurePermitted(SecurityHelper.java:60)[na:na]
      2. org.sonatype.nexus.repository.security.SecurityHelper.ensurePermitted(SecurityHelper.java:67)[na:na]
      3. org.sonatype.nexus.repository.manager.RepositoryManagerImpl.get(RepositoryManagerImpl.java:224)[na:na]
      3 frames