Class DefaultSessionPropertyUpgrader
java.lang.Object
org.forgerock.openam.authentication.service.SessionPropertyUpgrader
org.forgerock.openam.authentication.service.DefaultSessionPropertyUpgrader
Default implementation for
SessionPropertyUpgrader
This class basically just lets the session upgrade to copy every single
property into the new session.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
Constructor Details
-
DefaultSessionPropertyUpgrader
public DefaultSessionPropertyUpgrader()
-
-
Method Details
-
shouldCopy
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
-