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 progrma in weblogic 6.1 giving the following error java.lang.SecurityException: attempting to add an object which is not an instance of java.security.Principal to a Subjec

    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

    Programmatic Java EE 6 login: how to catch the LoginException?

    Stack Overflow | 6 years ago | Drew H
    java.lang.SecurityException
  3. 0

    TextCallbackHandler password issue

    Stack Overflow | 2 years ago
    java.lang.SecurityException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JAAS & LoginPodule - Exception when adding Principal to subject

    Oracle Community | 1 decade ago | 843811
    ProcessorTask.java
  6. 0

    Glassfish 3.1 bug in JDBCRealm dataSource-jndi

    Oracle Community | 6 years ago | ulric-3091163
    java.lang.SecurityException

    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
      LoginContext.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. javax.security.auth.login.LoginContext.invoke(LoginContext.java:595)
      2 frames