ofbiz external login problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

ofbiz external login problem

gcameo

In regard to the issue discussed here,
http://osdir.com/ml/user.ofbiz.apache.org/2009-03/msg00121.html

I have just realize that, in my installation, even switching between differents tabs in the same application causes a request for login because "normally", an external login ID is not associated with the request. I realise this issue is not present in the current demo on the ofbiz site. Is there a quick fix (or a particular file )I can apply to fix this in my installation without having to upgrade all of my ofbiz installation as I am on the verge of going live and have too many production customizations in my installation.

Thank you
Reply | Threaded
Open this post in threaded view
|

Re: ofbiz external login problem

Bilgin Ibryam
If you have cookies enabled, browsing inside the same web application,  
should not require login.
Have you changed some settings (like session-timeout in web.xml)?

Bilgin

On Mar 27, 2009, at 12:39 PM, farouk alhassan wrote:

>
> In regard to the issue discussed here,
> http://osdir.com/ml/user.ofbiz.apache.org/2009-03/msg00121.html
>
> I have just realize that, in my installation, even switching between  
> differents tabs in the same application causes a request for login  
> because "normally", an external login ID is not associated with the  
> request. I realise this issue is not present in the current demo on  
> the ofbiz site. Is there a quick fix (or a particular file )I can  
> apply to fix this in my installation without having to upgrade all  
> of my ofbiz installation as I am on the verge of going live and have  
> too many production customizations in my installation.
>
> Thank you

Reply | Threaded
Open this post in threaded view
|

Re: ofbiz external login problem

gcameo
In reply to this post by gcameo
All I have done is use the create-component ant target to create a new component in the hot-deploy directory. Then I have moved the ecommerce controller.xml to replace the generated file. Then all I am doing is overriding the screens as I change them to suit my needs. So technically, I am only changing the views. The only change in the web.xml is to change the storeID. I also allowed /product context to be used to view products which was absent in my revision.(bug)

The problem seem to appear and vanish and then reappear on the same browser instance within the same session logged in as same user.

--- On Tue, 3/31/09, Bilgin Ibryam <[hidden email]> wrote:

From: Bilgin Ibryam <[hidden email]>
Subject: Re: ofbiz external login problem
To: [hidden email]
Date: Tuesday, March 31, 2009, 1:35 AM

If you have cookies enabled, browsing inside the same web application, should not require login.
Have you changed some settings (like session-timeout in web.xml)?

Bilgin

On Mar 27, 2009, at 12:39 PM, farouk alhassan wrote:

>
> In regard to the issue discussed here,
> http://osdir.com/ml/user.ofbiz.apache.org/2009-03/msg00121.html
>
> I have just realize that, in my installation, even switching between differents tabs in the same application causes a request for login because "normally", an external login ID is not associated with the request. I realise this issue is not present in the current demo on the ofbiz site. Is there a quick fix (or a particular file )I can apply to fix this in my installation without having to upgrade all of my ofbiz installation as I am on the verge of going live and have too many production customizations in my installation.
>
> Thank you

Reply | Threaded
Open this post in threaded view
|

Re: ofbiz external login problem

Bilgin Ibryam
If you are creating a back-end application, you can try by copying  
another controller file. Ecommerce controller has some events  
different from back end application events. I don't guess anything  
else from the info you gave.

Bilgin
On Mar 31, 2009, at 11:45 AM, farouk alhassan wrote:

> All I have done is use the create-component ant target to create a  
> new component in the hot-deploy directory. Then I have moved the  
> ecommerce controller.xml to replace the generated file. Then all I  
> am doing is overriding the screens as I change them to suit my  
> needs. So technically, I am only changing the views. The only change  
> in the web.xml is to change the storeID. I also allowed /product  
> context to be used to view products which was absent in my revision.
> (bug)

Reply | Threaded
Open this post in threaded view
|

Re: ofbiz external login problem

gcameo
In reply to this post by gcameo
The problem is not actually with the ecommerce applivcation or the component I have created. The problem is with other applications specifically the catalog manager and party manger and I am sure I left them as they were. The system is a demo server (for showcase ) so I can give you access to see it for yourself.

--- On Fri, 4/3/09, Bilgin Ibryam <[hidden email]> wrote:

From: Bilgin Ibryam <[hidden email]>
Subject: Re: ofbiz external login problem
To: [hidden email]
Date: Friday, April 3, 2009, 1:38 AM

If you are creating a back-end application, you can try by copying another controller file. Ecommerce controller has some events different from back end application events. I don't guess anything else from the info you gave.

Bilgin
On Mar 31, 2009, at 11:45 AM, farouk alhassan wrote:

> All I have done is use the create-component ant target to create a new component in the hot-deploy directory. Then I have moved the ecommerce controller.xml to replace the generated file. Then all I am doing is overriding the screens as I change them to suit my needs. So technically, I am only changing the views. The only change in the web.xml is to change the storeID. I also allowed /product context to be used to view products which was absent in my revision.(bug)