java.lang.SecurityException: attempting to add an object which is not an ins tance of java.security.Principal to a Subject's Principal Set at examples.security.jaas.SampleLoginModule.login(SampleLoginModule.java

Oracle Community | 3004 | 2 decades ago
  1. 0

    JAAS sample program in weblogic 6.0 sp2 giving  java.lang.SecurityException: Unable to locate a login Exception

    Oracle Community | 2 decades ago | 3004
    java.lang.SecurityException: attempting to add an object which is not an ins tance of java.security.Principal to a Subject's Principal Set at examples.security.jaas.SampleLoginModule.login(SampleLoginModule.java
  2. 0

    Why MD5 is required for JCE initialization

    Stack Overflow | 4 years ago | atulsm
    java.lang.SecurityException: Signature classes have been tampered with at javax.crypto.SunJCE_b.d(DashoA13*..) at javax.crypto.SunJCE_b.c(DashoA13*..) at javax.crypto.SunJCE_b$1.run(DashoA13*..)
  3. 0

    Grails application failed to run in GoogleAppEngine due to HashMap$Entry ClassNotFound error

    Stack Overflow | 5 years ago | TJWorks
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.SecurityException: Unable to get members for class groovy.util.ConfigObject
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

    GitHub | 2 years ago | ericzundel
    java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
  6. 0

    Cannot set up certs for trusted CAs for com.adobe.adept.client.XMLUtil

    Stack Overflow | 5 years ago | Alexander M.
    java.lang.SecurityException: Cannot locate policy or framework files! at javax.crypto.SunJCE_b.i(DashoA13*..) at javax.crypto.SunJCE_b.g(DashoA13*..) at javax.crypto.SunJCE_b$1.run(DashoA13*..)

  1. bpbhat77 2 times, last 3 months ago
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

    attempting to add an object which is not an ins tance of java.security.Principal to a Subject's Principal Set at examples.security.jaas.SampleLoginModule.login(SampleLoginModule.java

    at java.lang.reflect.Method.invoke()
  2. Java RT
    AccessController.doPrivileged
    1. java.lang.reflect.Method.invoke(Native Method)
    2. javax.security.auth.login.LoginContext.invoke(LoginContext.java:595)
    3. javax.security.auth.login.LoginContext.access$000(LoginContext.java:125)
    4. javax.security.auth.login.LoginContext$3.run(LoginContext.java:531)
    5. java.security.AccessController.doPrivileged(Native Method)
    5 frames