@Test public void shouldHaveDefaultJdbcSecureAfterConstruction() throws Exception { assertThat( this.teiid.isJdbcSecure( getTransaction() ), is( TeiidJdbcInfo.DEFAULT_SECURE ) ); }
@Override public boolean isJdbcSecure( UnitOfWork uow ) throws KException { ArgCheck.isNotNull( uow, "transaction" ); ArgCheck.isTrue( ( uow.getState() == State.NOT_STARTED ), "transaction state is not NOT_STARTED" ); Boolean secure = getObjectProperty(uow, PropertyValueType.BOOLEAN, "isSecure", TeiidArchetype.JDBC_SECURE); return secure != null ? secure : TeiidJdbcInfo.DEFAULT_SECURE; }
TeiidImpl extends RelationalChildRestrictedObject implements Teiid, TeiidParent, EventManager { @Override public boolean isJdbcSecure( UnitOfWork uow ) throws KException { ArgCheck.isNotNull( uow, "transaction" ); ArgCheck.isTrue( ( uow.getState() == State.NOT_STARTED ), "transaction state is not NOT_STARTED" ); Boolean secure = getObjectProperty(uow, PropertyValueType.BOOLEAN, "isSecure", TeiidArchetype.JDBC_SECURE); return secure != null ? secure : TeiidJdbcInfo.DEFAULT_SECURE; } }
TeiidImpl extends RelationalChildRestrictedObject implements Teiid, TeiidParent, EventManager { @Override public boolean isJdbcSecure( UnitOfWork uow ) throws KException { ArgCheck.isNotNull( uow, "transaction" ); ArgCheck.isTrue( ( uow.getState() == State.NOT_STARTED ), "transaction state is not NOT_STARTED" ); Boolean secure = getObjectProperty(uow, PropertyValueType.BOOLEAN, "isSecure", TeiidArchetype.JDBC_SECURE); return secure != null ? secure : TeiidJdbcInfo.DEFAULT_SECURE; } TeiidImpl( final UnitOfWork uow,
                      final Repository repository,
                      final String path ); }
TeiidImpl extends RelationalChildRestrictedObject implements Teiid, TeiidParent, EventManager { @Override public boolean isJdbcSecure( UnitOfWork uow ) throws KException { ArgCheck.isNotNull( uow, "transaction" ); ArgCheck.isTrue( ( uow.getState() == State.NOT_STARTED ), "transaction state is not NOT_STARTED" ); Boolean secure = getObjectProperty(uow, PropertyValueType.BOOLEAN, "isSecure", TeiidArchetype.JDBC_SECURE); return secure != null ? secure : TeiidJdbcInfo.DEFAULT_SECURE; } TeiidImpl( final UnitOfWork uow,
                      final Repository repository,
                      final String path ); @Override KomodoType getTypeIdentifier(UnitOfWork uow); @Override TeiidInstance getTeiidInstance(TeiidVersion teiidVersion); @Override TeiidInstance getTeiidInstance(UnitOfWork uow); @Override QueryService getQueryService(UnitOfWork uow); @Override TeiidVersion getVersion( UnitOfWork uow ); @Override void setVersion(UnitOfWork uow, TeiidVersion version); @Override String getId( final UnitOfWork transaction ); @Override String getHost( UnitOfWork uow ); @Override void setHost(UnitOfWork uow, String host); @Override int getAdminPort( UnitOfWork uow ); @Override void setAdminPort( UnitOfWork uow, int port ); @Override String getAdminUser( UnitOfWork uow ); @Override void setAdminUser( UnitOfWork uow, String userName ); @Override String getAdminPassword( UnitOfWork uow ); @Override void setAdminPassword( UnitOfWork uow,
                                  String password ); @Override int getTypeId(); @Override boolean isAdminSecure( UnitOfWork uow ); @Override void setAdminSecure( UnitOfWork uow, boolean secure ); @Override int getJdbcPort( UnitOfWork uow ); @Override void setJdbcPort( UnitOfWork uow, int port ); @Override String getJdbcUsername( UnitOfWork uow ); @Override void setJdbcUsername( UnitOfWork uow, String userName ); @Override String getJdbcPassword( UnitOfWork uow ); @Override void setJdbcPassword( UnitOfWork uow, String password ); @Override boolean isJdbcSecure( UnitOfWork uow ); @Override void setJdbcSecure( UnitOfWork uow, boolean secure ); @Override boolean isConnected(UnitOfWork uow); @Override CachedTeiid importContent(UnitOfWork transaction); @Override boolean addListener( ExecutionConfigurationListener listener ); @Override void permitListeners( boolean enable ); @Override void notifyListeners( ExecutionConfigurationEvent event ); @Override boolean removeListener( ExecutionConfigurationListener listener ); @Override boolean isSound(); @Override String getHost(); @Override int getPort(); @Override Object getParentObject(); @Override String getId(); @Override String getName(); @Override String getUsername(); @Override String getPassword(); @Override boolean isSecure(); @Override EventManager getEventManager(); @Override int hashCode(); @Override boolean equals(Object obj); }
TeiidImpl extends RelationalChildRestrictedObject implements Teiid, TeiidParent, EventManager { @Override public boolean isJdbcSecure( UnitOfWork uow ) throws KException { ArgCheck.isNotNull( uow, "transaction" ); ArgCheck.isTrue( ( uow.getState() == State.NOT_STARTED ), "transaction state is not NOT_STARTED" ); Boolean secure = getObjectProperty(uow, PropertyValueType.BOOLEAN, "isSecure", TeiidArchetype.JDBC_SECURE); return secure != null ? secure : TeiidJdbcInfo.DEFAULT_SECURE; } TeiidImpl( final UnitOfWork uow,
                      final Repository repository,
                      final String path ); @Override KomodoType getTypeIdentifier(UnitOfWork uow); @Override TeiidInstance getTeiidInstance(TeiidVersion teiidVersion); @Override TeiidInstance getTeiidInstance(UnitOfWork uow); @Override QueryService getQueryService(UnitOfWork uow); @Override TeiidVersion getVersion( UnitOfWork uow ); @Override void setVersion(UnitOfWork uow, TeiidVersion version); @Override String getId( final UnitOfWork transaction ); @Override String getHost( UnitOfWork uow ); @Override void setHost(UnitOfWork uow, String host); @Override int getAdminPort( UnitOfWork uow ); @Override void setAdminPort( UnitOfWork uow, int port ); @Override String getAdminUser( UnitOfWork uow ); @Override void setAdminUser( UnitOfWork uow, String userName ); @Override String getAdminPassword( UnitOfWork uow ); @Override void setAdminPassword( UnitOfWork uow,
                                  String password ); @Override int getTypeId(); @Override boolean isAdminSecure( UnitOfWork uow ); @Override void setAdminSecure( UnitOfWork uow, boolean secure ); @Override int getJdbcPort( UnitOfWork uow ); @Override void setJdbcPort( UnitOfWork uow, int port ); @Override String getJdbcUsername( UnitOfWork uow ); @Override void setJdbcUsername( UnitOfWork uow, String userName ); @Override String getJdbcPassword( UnitOfWork uow ); @Override void setJdbcPassword( UnitOfWork uow, String password ); @Override boolean isJdbcSecure( UnitOfWork uow ); @Override void setJdbcSecure( UnitOfWork uow, boolean secure ); @Override boolean isConnected(UnitOfWork uow); @Override CachedTeiid importContent(UnitOfWork transaction); @Override boolean addListener( ExecutionConfigurationListener listener ); @Override void permitListeners( boolean enable ); @Override void notifyListeners( ExecutionConfigurationEvent event ); @Override boolean removeListener( ExecutionConfigurationListener listener ); @Override boolean isSound(); @Override String getHost(); @Override int getPort(); @Override Object getParentObject(); @Override String getId(); @Override String getName(); @Override String getUsername(); @Override String getPassword(); @Override boolean isSecure(); @Override EventManager getEventManager(); @Override int hashCode(); @Override boolean equals(Object obj);  }