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 forSessionPropertyUpgraderThis class basically just lets the session upgrade to copy every single property into the new session.
-
-
Constructor Summary
Constructors Constructor Description DefaultSessionPropertyUpgrader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshouldCopy(String key)This method decides whether a given session property should be copied to the new session.-
Methods inherited from class org.forgerock.openam.authentication.service.SessionPropertyUpgrader
loadPropertyUpgrader, populateProperties, updateProperty
-
-
-
-
Method Detail
-
shouldCopy
public boolean shouldCopy(String key)
Description copied from class:SessionPropertyUpgraderThis method decides whether a given session property should be copied to the new session.- Specified by:
shouldCopyin classSessionPropertyUpgrader- Parameters:
key- The name of the session property which we want to decide to copy- Returns:
trueif the property with the given key should be copied into the new session
-
-