java.lang.SecurityException: hudson.security.AccessDeniedException2: anonymous is missing the Administer permission

Jenkins JIRA | Max Spring | 5 years ago
  1. 0

    Trying to put the cli-channel-demo [1] to use. It works alone, *but* in conjunction with the Role Strategy Plugin [2] I got a problem: Exception in thread "main" java.lang.SecurityException: hudson.security.AccessDeniedException2: anonymous is missing the Administer permission at hudson.security.ACL.checkPermission(ACL.java:53) at hudson.model.Node.checkPermission(Node.java:381) at hudson.cli.GroovyCommand.run(GroovyCommand.java:73) at hudson.cli.CLICommand.main(CLICommand.java:184) at hudson.cli.CliManagerImpl.main(CliManagerImpl.java:82) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) at hudson.cli.CLI.upgrade(CLI.java:195) at org.jenkinsci.demo.cli.App.main(App.java:42) Why is it assuming userid "anonymous" instead of the userid to which I have assigned the public key? [1] https://github.com/jenkinsci/cli-channel-demo [2] https://wiki.jenkins-ci.org/display/JENKINS/Role+Strategy+Plugin

    Jenkins JIRA | 5 years ago | Max Spring
    java.lang.SecurityException: hudson.security.AccessDeniedException2: anonymous is missing the Administer permission
  2. 0

    Trying to put the cli-channel-demo [1] to use. It works alone, *but* in conjunction with the Role Strategy Plugin [2] I got a problem: Exception in thread "main" java.lang.SecurityException: hudson.security.AccessDeniedException2: anonymous is missing the Administer permission at hudson.security.ACL.checkPermission(ACL.java:53) at hudson.model.Node.checkPermission(Node.java:381) at hudson.cli.GroovyCommand.run(GroovyCommand.java:73) at hudson.cli.CLICommand.main(CLICommand.java:184) at hudson.cli.CliManagerImpl.main(CliManagerImpl.java:82) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) at hudson.cli.CLI.upgrade(CLI.java:195) at org.jenkinsci.demo.cli.App.main(App.java:42) Why is it assuming userid "anonymous" instead of the userid to which I have assigned the public key? [1] https://github.com/jenkinsci/cli-channel-demo [2] https://wiki.jenkins-ci.org/display/JENKINS/Role+Strategy+Plugin

    Jenkins JIRA | 5 years ago | Max Spring
    java.lang.SecurityException: hudson.security.AccessDeniedException2: anonymous is missing the Administer permission
  3. 0

    Permission denied (missing INTERNET permission?) - android error

    qnundrum.com | 1 year ago
    java.lang.RuntimeException: An error occured while executing doInBackground()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Permission Denied? Already state in AndroidManifest

    GitHub | 1 year ago | hamberluo
    java.lang.SecurityException: Permission denied (missing INTERNET permission?)
  6. 0

    fatal error in asyntask involving url passing

    Stack Overflow | 3 years ago | Alvin
    java.lang.SecurityException: Permission denied (missing INTERNET permission?)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.SecurityException

      hudson.security.AccessDeniedException2: anonymous is missing the Administer permission

      at hudson.security.ACL.checkPermission()
    2. Hudson
      CliManagerImpl.main
      1. hudson.security.ACL.checkPermission(ACL.java:53)
      2. hudson.model.Node.checkPermission(Node.java:381)
      3. hudson.cli.GroovyCommand.run(GroovyCommand.java:73)
      4. hudson.cli.CLICommand.main(CLICommand.java:184)
      5. hudson.cli.CliManagerImpl.main(CliManagerImpl.java:82)
      5 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274)
      2. hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255)
      3. hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
      4. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      5. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      6. hudson.remoting.Request$2.run(Request.java:287)
      6 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:662)
      6 frames
    6. Hudson
      CLI.upgrade
      1. hudson.cli.CLI.upgrade(CLI.java:195)
      1 frame
    7. org.jenkinsci.demo
      App.main
      1. org.jenkinsci.demo.cli.App.main(App.java:42)
      1 frame