Class DefaultSessionPropertyUpgrader

java.lang.Object
org.forgerock.openam.authentication.service.SessionPropertyUpgrader
org.forgerock.openam.authentication.service.DefaultSessionPropertyUpgrader

@SupportedAll public final class DefaultSessionPropertyUpgrader extends SessionPropertyUpgrader
Default implementation for SessionPropertyUpgrader This class basically just lets the session upgrade to copy every single property into the new session.
  • Constructor Details

    • DefaultSessionPropertyUpgrader

      public DefaultSessionPropertyUpgrader()
  • Method Details

    • shouldCopy

      public boolean shouldCopy(String key)
      Description copied from class: SessionPropertyUpgrader
      This method decides whether a given session property should be copied to the new session.
      Specified by:
      shouldCopy in class SessionPropertyUpgrader
      Parameters:
      key - The name of the session property which we want to decide to copy
      Returns:
      true if the property with the given key should be copied into the new session