lumis.portal.authentication
Class AuthenticationMonitorUtil

Package class diagram package AuthenticationMonitorUtil
java.lang.Object
  extended by lumis.portal.authentication.AuthenticationMonitorUtil

public class AuthenticationMonitorUtil
extends Object

Utility class for authentication monitoring.

Since:
4.1.0

Constructor Summary
AuthenticationMonitorUtil()
           
 
Method Summary
static void removeUserAggregationValues()
          Remove user related aggregation values from the current monitor context.
static void setUserAggregationValues(Map<String,String> aggregationValues, SessionConfig sessionConfig)
          Set user related aggregation values in the given map.
static void setUserAggregationValues(SessionConfig sessionConfig)
          Set user related aggregation values in the current monitor context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationMonitorUtil

public AuthenticationMonitorUtil()
Method Detail

setUserAggregationValues

public static void setUserAggregationValues(Map<String,String> aggregationValues,
                                            SessionConfig sessionConfig)
                                     throws PortalException
Set user related aggregation values in the given map. This method sets the IAggregationType.AGGREGATION_TYPE_USER_LOGIN, IAggregationType.AGGREGATION_TYPE_USER_LOCALE and IAggregationType.AGGREGATION_TYPE_USER_GROUPS aggregation values.

Parameters:
aggregationValues - the aggregation values map.
sessionConfig - the user's session.
Throws:
PortalException
Since:
4.1.0

setUserAggregationValues

public static void setUserAggregationValues(SessionConfig sessionConfig)
                                     throws PortalException
Set user related aggregation values in the current monitor context. This method sets the IAggregationType.AGGREGATION_TYPE_USER_LOGIN, IAggregationType.AGGREGATION_TYPE_USER_LOCALE and IAggregationType.AGGREGATION_TYPE_USER_GROUPS aggregation values.

Parameters:
sessionConfig - the user's session.
Throws:
PortalException
Since:
4.1.0
See Also:
removeUserAggregationValues()

removeUserAggregationValues

public static void removeUserAggregationValues()
                                        throws PortalException
Remove user related aggregation values from the current monitor context. This method removes the aggregation types set by setUserAggregationValues(SessionConfig)

Throws:
PortalException
Since:
4.1.0


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.