Welcome, Guest
Please Login or Register.    Lost Password?

Basic Authentication Caching
(1 viewing) (1) Guest
Convertigo Products
This is the place to ask questions, request for enhancements and more generally discuss about Convertigo products.
Go to bottomPage: 12
TOPIC: Basic Authentication Caching
#38
Basic Authentication Caching 1 Year, 11 Months ago Karma: 0
I've been implementing a CWI project against a server with basic authentication through Apache. I use a Credentials Statement with a onTransactionStarted handler to supply the connector with credentials from the user (variables to the transaction).

The trouble is, after the first login, the Convertigo server seems to remember this login for ALL clients! Even if I restart the Convertigo web app they are remembered. Only when I restart tomcat are they forgotten.
adam.brenneis
Junior Boarder
Posts: 36
graph
User Offline Click here to see the profile of this user
Location: Raleigh, NC Birthday: 11/11
The administrator has disabled public write access.
 
#39
Re:Basic Authentication Caching 1 Year, 11 Months ago Karma: 0
Oups, this is clearly a bug...
fabienb
Moderator
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Convertigo Location: Paris
Fabien Balageas
Convertigo - CTO
The administrator has disabled public write access.
 
#40
Re:Basic Authentication Caching 1 Year, 11 Months ago Karma: 0
Perhaps so! I thought maybe there was something I was missing.
adam.brenneis
Junior Boarder
Posts: 36
graph
User Offline Click here to see the profile of this user
Location: Raleigh, NC Birthday: 11/11
The administrator has disabled public write access.
 
#48
Re:Basic Authentication Caching 1 Year, 10 Months ago Karma: 0
After looking at this a bit more, I think there may be a problem in my projects causing this. I think this because when I enter incorrect credentials on a subsequent connection, I see the error screen being processed by Convertigo.

Unfortunately I am not able to look into this further right now, but I thought I'd let anyone know who read this that it was possibly a problem with my implementation and not a bug in Convertigo.
adam.brenneis
Junior Boarder
Posts: 36
graph
User Offline Click here to see the profile of this user
Location: Raleigh, NC Birthday: 11/11
The administrator has disabled public write access.
 
#64
Re:Basic Authentication Caching 1 Year, 10 Months ago Karma: 0
I think that I have resolved this for the most part. Unfortunately (for me), it was all errors from me.

My target system has some complex authentication. I needed to look at the process through firebug to see where the frontpage was redirecting to before anything else. I changed my login transaction to point there and things began to smooth out immediately.

I've also been confused about the "Maintains connector state" property of my transactions. I'm not sure exactly what this means, but using it was causing more confusing behavior for me. Combined with the use of a Sequencer connector, I've change to provide the credentials with each request, simply because I can't be sure which transaction will be fired by the user first.

It's not a clear explanation of what went wrong, but I am reassured that Convertigo is quite able to handle authentications like this.
adam.brenneis
Junior Boarder
Posts: 36
graph
User Offline Click here to see the profile of this user
Location: Raleigh, NC Birthday: 11/11
The administrator has disabled public write access.
 
#68
Re:Basic Authentication Caching 1 Year, 10 Months ago Karma: 1
I've also been confused about the "Maintains connector state" property of my transactions.


When launched, "Maintains connector state = false", aka "stateless" transactions re-establish a fresh connection on their target URL.
Note that related cookies are cleaned in the process.

"Maintains connector state = true", aka "statefull" transactions do not connect. Instead, they take the connector in its present state, and go on from there.

So, although there are exceptions, a chain of transactions is often made by a stateless transaction followed by statefull transactions.
Davidm
Convertigo Team
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Convertigo
Last Edit: 2010/07/15 14:03 By Davidm.
David M.
Convertigo projects consultant.
The administrator has disabled public write access.
 
Go to topPage: 12
Moderators: elodiee