My Oracle Support Banner

In Oracle Access Manager 11g R2PS3 (OAM 11.1.2.3) Log Every Time NAPException: Exception in decryption (Doc ID 1923298.1)

Last updated on MAY 08, 2023

Applies to:

Oracle Access Manager - Version 11.1.2.1.3 and later
Information in this document applies to any platform.
Oracle is not responsible for instructions/information from 3rd party sites that may be contained in this KM note.

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=<UID>,ou=internal,ou=people,dc=<COMPANY>,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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.