javax.crypto.BadPaddingException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Encrypt Data in Play Session Cookie
    via Stack Overflow by Nik
    ,
  • Error with AES decryption method
    via Stack Overflow by user4163554
    ,
    • javax.crypto.BadPaddingException: Given final block not properly padded at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:811) at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:676) at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:313) at javax.crypto.Cipher.doFinal(Cipher.java:2087) at oracle.security.am.common.utilities.crypto.AESEncrypter.decrypt(AESEncrypter.java:162) at oracle.security.am.common.utilities.crypto.OAMKeyStore.decryptKeyData(OAMKeyStore.java:382) at oracle.security.am.proxy.oam.util.SecretStore.getDecryptedSecret(SecretStore.java:163) at oracle.security.am.proxy.oam.util.SecretStore.getWebGateSharedSecret(SecretStore.java:98) at oracle.security.am.proxy.oam.pbl.plugin.OAMProxyEngine.getSSOToken(OAMProxyEngine.java:622) at oracle.security.am.proxy.oam.pbl.plugin.OAMProxyEngine.handleOAMLoginRequest(OAMProxyEngine.java:340)

    Users with the same issue

    HandemelindoHandemelindo
    3 times, last one,
    Unknown visitor
    Unknown visitor7 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    12 more bugmates