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 forSessionPropertyUpgrader
This 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 boolean
shouldCopy(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:SessionPropertyUpgrader
This method decides whether a given session property should be copied to the new session.- Specified by:
shouldCopy
in classSessionPropertyUpgrader
- 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
-
-