| org.josso.util.config.SSOConfigurationEventHandler org.josso.agent.SSOAgentConfigurationEventHandler
SSOAgentConfigurationEventHandler | public class SSOAgentConfigurationEventHandler extends SSOConfigurationEventHandler (Code) | | This ConfigurationHandler listens to SSOAgentMBean notifications to add or remove JOSSO partner application definitions
from JOSSO agent configuration file.
author: Sebastian Gonzalez Oyuela version: $Id: SSOAgentConfigurationEventHandler.java 508 2008-02-18 13:32:29Z sgonzalez $ |
SSOAgentConfigurationEventHandler | public SSOAgentConfigurationEventHandler(ConfigurationContext ctx, String elementsBaseLocation, String newElementsBaseLocation, Object source, String[] ignoredAttrs)(Code) | | Parameters: ctx - the configuration context used by this handler. Parameters: elementsBaseLocation - a XPath expression used to determine where elements to be updated are found in the configuration file. Parameters: newElementsBaseLocation - a XPath expression used to determine where new elements will be inserted as siblings in the configuration file. Parameters: source - the event source this handler uses |
addSSOPartnerAppConfig | protected void addSSOPartnerAppConfig(SSOPartnerAppConfig cfg)(Code) | | This method will add a new partner app definition to josso configuration file.
|
handleEvent | public void handleEvent(String eventType, EventObject event)(Code) | | This method expects events of type SSOAgentMBean.SSOAgentMBeanNotification
It adds or removes a JOSSO partner application definition from the JOSSO agent configuration file.
|
removeSSOPartnerAppConfig | protected void removeSSOPartnerAppConfig(String context)(Code) | | This method will remove a partner app definition from josso configuration file.
|
|
|