javax.security.auth.login.LoginException: java.lang.IllegalStateException: Cannot get keys at REQ_OK state

java.com | 8 months 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

    Bug ID: JDK-7089889 Krb5LoginModule.login() throws an exception if used without a keytab

    java.com | 8 months ago
    javax.security.auth.login.LoginException: java.lang.IllegalStateException: Cannot get keys at REQ_OK state
  2. 0

    Pavithra's Blog

    blogspot.com | 9 months ago
    javax.security.auth.login.LoginException: java.lang.IllegalStateException: Cannot get keys at REQ_OK state
  3. 0

    Jaas Kerberos Authentication through test AD in virtual environment

    Stack Overflow | 3 years ago | dorothy
    javax.security.auth.login.LoginException: null (68)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Progress KB - "No CallbackHandler available to garner authentication information from the user" error with JDBC drivers

    progress.com | 12 months ago
    javax.security.auth.login.LoginException: No CallbackHandler available to garner authentication information from the user
  6. 0

    Jetty @ Eclipse user discussion list ()

    gmane.org | 1 year ago
    javax.security.auth.login.LoginException: Login Failure: all modules ignored

    15 unregistered visitors
    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. javax.security.auth.login.LoginException

      java.lang.IllegalStateException: Cannot get keys at REQ_OK state

      at sun.security.krb5.KrbAsReqBuilder.checkState()
    2. Java RT
      LoginContext.login
      1. sun.security.krb5.KrbAsReqBuilder.checkState(Unknown Source)
      2. sun.security.krb5.KrbAsReqBuilder.getKeys(Unknown Source)
      3. com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Unknown Source)
      4. com.sun.security.auth.module.Krb5LoginModule.login(Unknown Source)
      5. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      6. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      7. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      8. java.lang.reflect.Method.invoke(Unknown Source)
      9. javax.security.auth.login.LoginContext.invoke(Unknown Source)
      10. javax.security.auth.login.LoginContext.access$000(Unknown Source)
      11. javax.security.auth.login.LoginContext$4.run(Unknown Source)
      12. javax.security.auth.login.LoginContext$4.run(Unknown Source)
      13. java.security.AccessController.doPrivileged(Native Method)
      14. javax.security.auth.login.LoginContext.invokePriv(Unknown Source)
      15. javax.security.auth.login.LoginContext.login(Unknown Source)
      15 frames
    3. Unknown
      LoginModuleExample.main
      1. LoginModuleExample.main(LoginModuleExample.java:43)
      1 frame
    4. Java RT
      LoginContext.login
      1. javax.security.auth.login.LoginContext.invoke(Unknown Source)
      2. javax.security.auth.login.LoginContext.access$000(Unknown Source)
      3. javax.security.auth.login.LoginContext$4.run(Unknown Source)
      4. javax.security.auth.login.LoginContext$4.run(Unknown Source)
      5. java.security.AccessController.doPrivileged(Native Method)
      6. javax.security.auth.login.LoginContext.invokePriv(Unknown Source)
      7. javax.security.auth.login.LoginContext.login(Unknown Source)
      7 frames
    5. Unknown
      LoginModuleExample.main
      1. LoginModuleExample.main(LoginModuleExample.java:43)
      1 frame