In OAM Log Every Time NAPException: Exception in decryption (Doc ID 1923298.1)

Last updated on AUGUST 31, 2017

Applies to:

Oracle Access Manager - Version 11.1.2.1.3 and later
Information in this document applies to any platform.

Goal

1.

<Aug 11, 2014 9:07:49 AM CDT> <Error> <oracle.oam.proxy.oam> <OAM-04020> <Exception encountered while processing the request message:
oracle.security.am.common.utilities.exception.AmRuntimeException: Exception while decrypting token
  at oracle.security.am.proxy.oam.token.obsso.AbstractOBSSOTokenHandler.parseEncryptedSessionToken(AbstractOBSSOTokenHandler.java:225)
  at oracle.security.am.proxy.oam.token.obsso.AbstractOBSSOTokenHandler.parseSessionToken(AbstractOBSSOTokenHandler.java:168)
  at oracle.security.am.proxy.oam.token.obsso.OBSSOTokenIssuerModuleImpl.validate(OBSSOTokenIssuerModuleImpl.java:212)
  at oracle.security.am.engines.tpe.TokenValidatorImpl.validate(TokenValidatorImpl.java:68)

Caused By: oracle.security.am.common.exceptions.NAPException: Exception in decryption
  at oracle.security.am.common.nap.util.decryptor.CookieDecryptor.doAESDecryption(CookieDecryptor.java:261)

Caused By: javax.crypto.BadPaddingException: Given final block not properly padded
  at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:811)

2.

<Aug 11, 2014 9:08:43 AM CDT> <Error> <oracle.oam.proxy.oam> <BEA-000000> <Session invalid as returned by PBL_check_valid_session_response responseEvent fail for user DnU=uid=123,ou=internal,ou=people,dc=abc,dc=com>


3.

<Aug 11, 2014 9:07:55 AM CDT> <Warning> <oracle.oam.user.identity.provider> <OAMSSA-20073> <Principal object is not serializable; getGroups call will result in an extra LDAP call>

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms