Subject RE: [IB-Java] Direct Client and authentication
Author Goedhart, Andrew
Carrying on from the discussion yesterday, David thanks for you comments
By the way the reason for no CVS acces other then HTMl is that I am behind
a firewall and the IS department has blocked the CVS port and is not
allowing socks tunneling as far as I can tell they have only opened up Html
and FTp ports, no news groups either.

Got the connect working just had to get a valid user up and running
(currently hard coded but now we have the next problem.

Seems like we are not even using the supplied credentials even when
connecting to the database. Can someone with a linux system change the
credential in the firebird-services.xml file to garbage and tell me if it
still works. I think we have a trusted linux connection which is why it
works.

The code that I suspect is causing the problem is the following

public java.lang.Object getConnection(Subject subject,
ConnectionRequestInfo cxRequestInfo)
throws ResourceException {

//subject currently ignored
//cxRequestInfo currently ignored.
FBConnection c = new FBConnection(this);
connectionHandles.add(c);
return c;
}

However when I put loggin in the about statement the code is called only
after the first attempt to logiinto the database ???

Can anyone tell me the sequence of events that surround allocating a
connection I.e. Where Can I get a valid user anme and password.

By the way there is no user name and password in the connection request
object passed to isc_attach..... if you try do a getUser it returns NULL

Andrew