Package org.josso.agent

Examples of org.josso.agent.Lookup


  private JOSSOAgent()
  {
    try
    {
      //Initializing the JOSSO Agent
      Lookup lookup = Lookup.getInstance();
      lookup.init("josso-agent-config.xml");
     
      this.httpAgent = (HttpSSOAgent) lookup.lookupSSOAgent();
      this.httpAgent.start();
    }
    catch(Exception e)
    {
      log.error(this, e);
View Full Code Here


    *
    * @return HttpSSOAgent instance
    */
   public static HttpSSOAgent lookupSSOAgent() throws Exception
   {
      Lookup lookup = Lookup.getInstance();
      String location = getSystemProperty(PROPERTY_AGENT_CONFIG_FILE, "josso-agent-config.xml");
      log.info("Using JOSSO agent from location " + location);
      lookup.init(location);
      return (HttpSSOAgent)lookup.lookupSSOAgent();
   }
View Full Code Here

  private JOSSOAgent()
  {
    try
    {
      //Initializing the JOSSO Agent
      Lookup lookup = Lookup.getInstance();
      lookup.init("josso-agent-config.xml");
     
      this.httpAgent = (HttpSSOAgent) lookup.lookupSSOAgent();
      this.httpAgent.start();
    }
    catch(Exception e)
    {
      log.error(this, e);
View Full Code Here

TOP

Related Classes of org.josso.agent.Lookup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.