FIM - How to set "fim.session.lifetime"
2 years ago
Originally Published: 2015-03-11
Article Number
000067483
Applies To
RSA Product Set: FIM
RSA Product/Service Type: Federated Identity Management  
RSA Version/Condition: 4.2
Platform (Other): 4.2 SP1
 
Issue
fim.properties contains a fim.session.lifetime setting but only onder the standalone section. How is this set for a cluster?
Resolution
fim.session.lifetime is used by both Standalone and Cluster setting.
 
  • In Standalone this value is read from the fim.properties.
  • In Cluster this value is read from the database.
 
                public static long getSessionLifetime() {
                                if (isDeploymentClustered()) {
                                                // Get from DB for Clustered Deployment
                                                return getFIMPropertySettingsFromDB().getFimSessionLifetime();
                                }
                                return FIMProperties.getSessionLifetime();
                }
 
The default fim.session.lifetime value for the cluster is also 3600000. This can be changed in the Cluster Admin console->Cluster->FIMProperties->Session lifetime Value.
 
Notes
The value of fim.session.lifetime is used by the SessionHandleTable (Manages the sessions) cleanup thread.
The value of fim.object.lifetime.iterval is used by the ProfileStateTable (A table for holding state information when doing profile message exchanges) cleanup thread.
 
FIM maintains the sessions even if the SLO service is disabled in the entities.