Package org.teiid.client.security

Examples of org.teiid.client.security.ILogon.logon()


    SocketServerInstanceImpl instance = createInstance(channel);
   
    //no remote server is hooked up, so this will timeout
    ILogon logon = instance.getService(ILogon.class);
    try {
      logon.logon(new Properties());
      fail("Exception expected"); //$NON-NLS-1$
    } catch (TeiidComponentException e) {
      assertTrue(e.getCause().getCause() instanceof TimeoutException);
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.