java.lang.SecurityException: attempting to add an object which is not an instance of java.security.Principal to a Subject's Principal Set]

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    javax.naming.AuthenticationException

    Oracle Community | 1 decade ago | 3004
    java.lang.SecurityException: attempting to add an object which is not an instance of java.security.Principal to a Subject's Principal Set]
  2. 0

    javax.naming.AuthenticationException

    objectmix.com | 1 year ago
    java.lang.SecurityException: attempting to add an object= which is not an instance of java.security.Principal to a Subject's Principal Set]

    Root Cause Analysis

    1. java.lang.SecurityException

      attempting to add an object which is not an instance of java.security.Principal to a Subject's Principal Set]

      at weblogic.management.Helper.getMBH()
    2. weblogic.management
      Helper.getAdminMBeanHome
      1. weblogic.management.Helper.getMBH(Helper.java:62)
      2. weblogic.management.Helper.getAdminMBeanHome(Helper.java:28)
      2 frames
    3. Unknown
      TestMBeanHome.main
      1. TestMBeanHome.main(TestMBeanHome.java:9)
      1 frame