You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by apf <al...@gmail.com> on 2014/02/07 22:30:11 UTC

General login page for all users?

Hello, does a general login page exists for all users to access their apps?
The main page "/webtools/control/main" has a login link that sends me to the
admin login page "webtools/control/checkLogin" BUT only the admin can login
here... all other users get an error. 

Is there a login page for all? Where anyone can login to access their
specific apps? 

For example in Opentaps, once you log in with any user, then you can see the
apps you have access to. So what's the best way to achieve this in Ofbiz?
(and please don't say the best way is to give each user the specific app URL
- i don't find that very user friendly :p ) 

Also, what's the purpose of the main page at "/webtools/control/main" only
thing there is a login link that simply sends you to the admin login page...
How can I modify this page, and is it possibly get it to act as the main
login page as explained above? I will have to modify this page, because when
I log out it sends me there. 

Thank you for taking the time to read this :)  



--
View this message in context: http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: General login page for all users?

Posted by Pierre Smits <pi...@apache.org>.
Hi Alex,

Thank you for reviving the GitHub repository. While it is not ready for
inclusion in the OFBiz code base (a.o. it lacks license references), I feel
confident that a lot of adopters can take hints from it to make their
implementations more user friendly.



Best regards,

Pierre Smits

*Apache Trafodion <https://trafodion.apache.org>, Vice President*
*Apache Directory <https://directory.apache.org>, PMC Member*
Apache Incubator <https://incubator.apache.org>, committer
*Apache OFBiz <https://ofbiz.apache.org>, contributor (without privileges)
since 2008*
Apache Steve <https://steve.apache.org>, committer


On Mon, Oct 1, 2018 at 11:04 PM apf <al...@gmail.com> wrote:

> Hi Julien, thanks for taking the time to reply. I wanted a similar login
> experience like what OpenTaps offers, and created this. As I said 5 years
> ago, I didn't find it very user-friendly. Why should the user have to
> remember 5 different URL's? That seemed like a strange thing to do, when I
> can just give them one URL. Appreciate the feedback, thanks!
>
>
>
> --
> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
>

Re: General login page for all users?

Posted by apf <al...@gmail.com>.
Hi Julien, thanks for taking the time to reply. I wanted a similar login
experience like what OpenTaps offers, and created this. As I said 5 years
ago, I didn't find it very user-friendly. Why should the user have to
remember 5 different URL's? That seemed like a strange thing to do, when I
can just give them one URL. Appreciate the feedback, thanks! 



--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html

Re: General login page for all users?

Posted by Julien NICOLAS <ju...@nereide.fr>.
Hi Alex,

I'm not sure about the purpose of this feature. What is the difference 
between this feature and bookmarks ?

If the user have bookmark for his preferred webapp, he have to select 
it, log in and that's all. With this main login page, you'll add a click 
in the process.

I'm not sure that is useful but maybe it could be interesting for the 
community, let people add comments.

My 2 cents,

Julien.


Le 28/09/2018 à 20:52, apf a écrit :
> Someone asked about the broken link, so I've brought this back to life at
> https://github.com/alex-418/ofbiz-central-login
>
> Please test and let me know if anyone finds this useful, and if it works for
> you since it was created 5 years ago. Thanks!
>
>
>
> --
> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
>


Re: General login page for all users?

Posted by apf <al...@gmail.com>.
Someone asked about the broken link, so I've brought this back to life at
https://github.com/alex-418/ofbiz-central-login

Please test and let me know if anyone finds this useful, and if it works for
you since it was created 5 years ago. Thanks! 



--
Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html

Re: General login page for all users?

Posted by Adrian Crum <ad...@sandglass-software.com>.
Just use the same code as the existing applications. Look in 
CommonScreens.xml.

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 2/12/2014 1:27 PM, apf wrote:
> Great, that's exactly what I'm after. I've created an app with no root mount
> point. But how does one call or create the login page to work with Ofbiz,
> any example available? Or what's the location of the existing login form(s),
> can I use that as a start point?
>
> Kind Regards,
> AP
>
>
> Rajbir Saini wrote
>> Right way to do is create an application with login page and mount it on
>> the root (/) mount point. Right now there is no root mount point in the
>> back office application. Once you have the application mounted on root
>> point you can access without using an application context some thing
>> like https://erp.mydoamin.com/. If you want to be bit more creating you
>> can also have icons for all other application on the main page of this
>> root application similar to the Opentaps. You can also create access to
>> these icons based on the security permission similar to the OFBiz menu.
>>
>> Thanks,
>>
>> Raj
>>
>> On Saturday 08 February 2014 07:29 AM, apf wrote:
>>> That's extremely helpful for ecommerce login, thank you. But I am looking
>>> to
>>> do this for the back-end applications login.
>>>
>>>
>>> Mandeep Sidhu wrote
>>>> There are two different login flows actually. Single sign on is for all
>>>> back end applications (AR/AP/Accounting/Catalog etc.). For the front end
>>>> store the login is handled in the ecommerce app located at
>>>> speciapurpose/ecommerce/webapp/ecommerce/login.ftl
>>>>
>>>> To change the front end store's look and feel you'll have to change
>>>> files
>>>> under ecommerce app.
>>>>
>>>> Regards,
>>>> Mandeep
>>>> www.simbacart.com
>>>> (Ofbiz based)
>>>>
>>>>
>>>> On Fri, Feb 7, 2014 at 6:40 PM, apf &lt;
>>>> alex.paredes.flores@
>>>> &gt; wrote:
>>>>
>>>>> I have a fresh Ofbiz install, no hot-deploy apps. I'm not looking to
>>>>> change
>>>>> the looks, just get the "single sign on" working as you said. If it's
>>>>> well
>>>>> implemented, how can I setup a page for all users to login from there
>>>>> successfully? Thanks.
>>>>>
>>>>>
>>>>> Mandeep Sidhu wrote
>>>>>> I think single sign on is well implemented in ofbiz. If you got a
>>>>>> hot-deploy app, don't add an entry to handle login. The controller
>>>>>> will
>>>>>> automatically handle it.
>>>>>>
>>>>>> If you want to customize the login page to give a look and feel of
>>>>>> your
>>>>>> org, which I did as well you need to modify the file at the following
>>>>>> location.
>>>>>> framework\common\webcommon\login.ftl
>>>>>>
>>>>>> All the users will be presented with this login page then.
>>>>>>
>>>>>> Hope this helps.
>>>>>>
>>>>>> Regards,
>>>>>> Mandeep
>>>>>> www.simbacart.com
>>>>>> (ofbiz based)
>>>>>>
>>>>>>
>>>>>> On Fri, Feb 7, 2014 at 5:15 PM, apf &lt;
>>>>>> alex.paredes.flores@
>>>>>> &gt; wrote:
>>>>>>
>>>>>>> I can't seem to find info on how to go about creating a custom "home"
>>>>>>> page
>>>>>>> or
>>>>>>> login form. Experienced web developer here, but new to Ofbiz. Point
>>>>>>> me
>>>>> in
>>>>>>> the right direction? Google/archives aren't showing anything about
>>>>> this
>>>>>>> topic.
>>>>>>>
>>>>>>>
>>>>>>> Adrian Crum-3 wrote
>>>>>>>> A common solution is to create a custom "home" page that all users
>>>>> log
>>>>>>>> into.
>>>>>>>>
>>>>>>>> Adrian Crum
>>>>>>>> Sandglass Software
>>>>>>>> www.sandglass-software.com
>>>>>>>>
>>>>>>>> On 2/7/2014 3:26 PM, apf wrote:
>>>>>>>>> Thanks for clarifying that. I'd be more than glad to share my
>>>>>>> solution,
>>>>>>>>> once
>>>>>>>>> I come up with one...
>>>>>>>>>
>>>>>>>>> So if I understood correctly, Ofbiz login process requires a user
>>>>> to
>>>>>>> go
>>>>>>>>> to
>>>>>>>>> the specific URL of the application they have access to, otherwise
>>>>>>> they
>>>>>>>>> can't log in. And there is no common login page that exists, which
>>>>> can
>>>>>>>>> send
>>>>>>>>> the user to the correct URL after logging in, or display a page
>>>>> which
>>>>>>>>> shows
>>>>>>>>> the apps the have access to.
>>>>>>>>>
>>>>>>>>> Best Regards,
>>>>>>>>> AP
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Pierre Smits wrote
>>>>>>>>>> Alex,
>>>>>>>>>>
>>>>>>>>>> Opentaps is not OFBiz, OFBiz is not Opentaps. If the were one and
>>>>> the
>>>>>>>>>> same
>>>>>>>>>> the login would be the same.
>>>>>>>>>>
>>>>>>>>>> Access to applications is determined by the permissions a user
>>>>> has.
>>>>>>>>>> Unfortunately, there is not one application that will serve a a
>>>>>>>>>> placeholder
>>>>>>>>>> for login and logout. I you feel up to it, please share your
>>>>>>> solution.
>>>>>>>>>> Regards,
>>>>>>>>>>
>>>>>>>>>> Pierre Smits
>>>>>>>>>>
>>>>>>>>>> *ORRTIZ.COM &lt;http://www.orrtiz.com&gt;*
>>>>>>>>>> Services & Solutions for Cloud-
>>>>>>>>>> Based Manufacturing, Professional
>>>>>>>>>> Services and Retail & Trade
>>>>>>>>>> http://www.orrtiz.com
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Sat, Feb 8, 2014 at 12:04 AM, apf &lt;
>>>>>>>>>> alex.paredes.flores@
>>>>>>>>>> &gt; wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi, thanks for the reply. I'm aware those links exist, but my
>>>>>>> question
>>>>>>>>>>> is
>>>>>>>>>>> if
>>>>>>>>>>> there is a page that allows all users to login regardless of what
>>>>>>>>>>> applications they have access to? And once logged in, show them
>>>>> only
>>>>>>>>>>> the
>>>>>>>>>>> apps they have access to? This is the login process for Opentaps,
>>>>>>> just
>>>>>>>>>>> wondering how to achieve this in Ofbiz.
>>>>>>>>>>>
>>>>>>>>>>> Kind Regards,
>>>>>>>>>>> AP
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> View this message in context:
>>>>>>>>>>>
>>>>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648159.html
>>>>>>>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> View this message in context:
>>>>>>>>>
>>>>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648161.html
>>>>>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>>
>>>>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648163.html
>>>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648165.html
>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648167.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>
>
>
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648280.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Re: General login page for all users?

Posted by apf <al...@gmail.com>.
Great, that's exactly what I'm after. I've created an app with no root mount
point. But how does one call or create the login page to work with Ofbiz,
any example available? Or what's the location of the existing login form(s),
can I use that as a start point? 

Kind Regards,
AP


Rajbir Saini wrote
> Right way to do is create an application with login page and mount it on 
> the root (/) mount point. Right now there is no root mount point in the 
> back office application. Once you have the application mounted on root 
> point you can access without using an application context some thing 
> like https://erp.mydoamin.com/. If you want to be bit more creating you 
> can also have icons for all other application on the main page of this 
> root application similar to the Opentaps. You can also create access to 
> these icons based on the security permission similar to the OFBiz menu.
> 
> Thanks,
> 
> Raj
> 
> On Saturday 08 February 2014 07:29 AM, apf wrote:
>> That's extremely helpful for ecommerce login, thank you. But I am looking
>> to
>> do this for the back-end applications login.
>>
>>
>> Mandeep Sidhu wrote
>>> There are two different login flows actually. Single sign on is for all
>>> back end applications (AR/AP/Accounting/Catalog etc.). For the front end
>>> store the login is handled in the ecommerce app located at
>>> speciapurpose/ecommerce/webapp/ecommerce/login.ftl
>>>
>>> To change the front end store's look and feel you'll have to change
>>> files
>>> under ecommerce app.
>>>
>>> Regards,
>>> Mandeep
>>> www.simbacart.com
>>> (Ofbiz based)
>>>
>>>
>>> On Fri, Feb 7, 2014 at 6:40 PM, apf &lt;
>>> alex.paredes.flores@
>>> &gt; wrote:
>>>
>>>> I have a fresh Ofbiz install, no hot-deploy apps. I'm not looking to
>>>> change
>>>> the looks, just get the "single sign on" working as you said. If it's
>>>> well
>>>> implemented, how can I setup a page for all users to login from there
>>>> successfully? Thanks.
>>>>
>>>>
>>>> Mandeep Sidhu wrote
>>>>> I think single sign on is well implemented in ofbiz. If you got a
>>>>> hot-deploy app, don't add an entry to handle login. The controller
>>>>> will
>>>>> automatically handle it.
>>>>>
>>>>> If you want to customize the login page to give a look and feel of
>>>>> your
>>>>> org, which I did as well you need to modify the file at the following
>>>>> location.
>>>>> framework\common\webcommon\login.ftl
>>>>>
>>>>> All the users will be presented with this login page then.
>>>>>
>>>>> Hope this helps.
>>>>>
>>>>> Regards,
>>>>> Mandeep
>>>>> www.simbacart.com
>>>>> (ofbiz based)
>>>>>
>>>>>
>>>>> On Fri, Feb 7, 2014 at 5:15 PM, apf &lt;
>>>>> alex.paredes.flores@
>>>>> &gt; wrote:
>>>>>
>>>>>> I can't seem to find info on how to go about creating a custom "home"
>>>>>> page
>>>>>> or
>>>>>> login form. Experienced web developer here, but new to Ofbiz. Point
>>>>>> me
>>>> in
>>>>>> the right direction? Google/archives aren't showing anything about
>>>> this
>>>>>> topic.
>>>>>>
>>>>>>
>>>>>> Adrian Crum-3 wrote
>>>>>>> A common solution is to create a custom "home" page that all users
>>>> log
>>>>>>> into.
>>>>>>>
>>>>>>> Adrian Crum
>>>>>>> Sandglass Software
>>>>>>> www.sandglass-software.com
>>>>>>>
>>>>>>> On 2/7/2014 3:26 PM, apf wrote:
>>>>>>>> Thanks for clarifying that. I'd be more than glad to share my
>>>>>> solution,
>>>>>>>> once
>>>>>>>> I come up with one...
>>>>>>>>
>>>>>>>> So if I understood correctly, Ofbiz login process requires a user
>>>> to
>>>>>> go
>>>>>>>> to
>>>>>>>> the specific URL of the application they have access to, otherwise
>>>>>> they
>>>>>>>> can't log in. And there is no common login page that exists, which
>>>> can
>>>>>>>> send
>>>>>>>> the user to the correct URL after logging in, or display a page
>>>> which
>>>>>>>> shows
>>>>>>>> the apps the have access to.
>>>>>>>>
>>>>>>>> Best Regards,
>>>>>>>> AP
>>>>>>>>
>>>>>>>>
>>>>>>>> Pierre Smits wrote
>>>>>>>>> Alex,
>>>>>>>>>
>>>>>>>>> Opentaps is not OFBiz, OFBiz is not Opentaps. If the were one and
>>>> the
>>>>>>>>> same
>>>>>>>>> the login would be the same.
>>>>>>>>>
>>>>>>>>> Access to applications is determined by the permissions a user
>>>> has.
>>>>>>>>> Unfortunately, there is not one application that will serve a a
>>>>>>>>> placeholder
>>>>>>>>> for login and logout. I you feel up to it, please share your
>>>>>> solution.
>>>>>>>>> Regards,
>>>>>>>>>
>>>>>>>>> Pierre Smits
>>>>>>>>>
>>>>>>>>> *ORRTIZ.COM &lt;http://www.orrtiz.com&gt;*
>>>>>>>>> Services & Solutions for Cloud-
>>>>>>>>> Based Manufacturing, Professional
>>>>>>>>> Services and Retail & Trade
>>>>>>>>> http://www.orrtiz.com
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Sat, Feb 8, 2014 at 12:04 AM, apf &lt;
>>>>>>>>> alex.paredes.flores@
>>>>>>>>> &gt; wrote:
>>>>>>>>>
>>>>>>>>>> Hi, thanks for the reply. I'm aware those links exist, but my
>>>>>> question
>>>>>>>>>> is
>>>>>>>>>> if
>>>>>>>>>> there is a page that allows all users to login regardless of what
>>>>>>>>>> applications they have access to? And once logged in, show them
>>>> only
>>>>>>>>>> the
>>>>>>>>>> apps they have access to? This is the login process for Opentaps,
>>>>>> just
>>>>>>>>>> wondering how to achieve this in Ofbiz.
>>>>>>>>>>
>>>>>>>>>> Kind Regards,
>>>>>>>>>> AP
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> View this message in context:
>>>>>>>>>>
>>>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648159.html
>>>>>>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> View this message in context:
>>>>>>>>
>>>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648161.html
>>>>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>>
>>>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648163.html
>>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648165.html
>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648167.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>





--
View this message in context: http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648280.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: General login page for all users?

Posted by Rajbir Saini <ra...@yahoo.com>.
Right way to do is create an application with login page and mount it on 
the root (/) mount point. Right now there is no root mount point in the 
back office application. Once you have the application mounted on root 
point you can access without using an application context some thing 
like https://erp.mydoamin.com/. If you want to be bit more creating you 
can also have icons for all other application on the main page of this 
root application similar to the Opentaps. You can also create access to 
these icons based on the security permission similar to the OFBiz menu.

Thanks,

Raj

On Saturday 08 February 2014 07:29 AM, apf wrote:
> That's extremely helpful for ecommerce login, thank you. But I am looking to
> do this for the back-end applications login.
>
>
> Mandeep Sidhu wrote
>> There are two different login flows actually. Single sign on is for all
>> back end applications (AR/AP/Accounting/Catalog etc.). For the front end
>> store the login is handled in the ecommerce app located at
>> speciapurpose/ecommerce/webapp/ecommerce/login.ftl
>>
>> To change the front end store's look and feel you'll have to change files
>> under ecommerce app.
>>
>> Regards,
>> Mandeep
>> www.simbacart.com
>> (Ofbiz based)
>>
>>
>> On Fri, Feb 7, 2014 at 6:40 PM, apf &lt;
>> alex.paredes.flores@
>> &gt; wrote:
>>
>>> I have a fresh Ofbiz install, no hot-deploy apps. I'm not looking to
>>> change
>>> the looks, just get the "single sign on" working as you said. If it's
>>> well
>>> implemented, how can I setup a page for all users to login from there
>>> successfully? Thanks.
>>>
>>>
>>> Mandeep Sidhu wrote
>>>> I think single sign on is well implemented in ofbiz. If you got a
>>>> hot-deploy app, don't add an entry to handle login. The controller will
>>>> automatically handle it.
>>>>
>>>> If you want to customize the login page to give a look and feel of your
>>>> org, which I did as well you need to modify the file at the following
>>>> location.
>>>> framework\common\webcommon\login.ftl
>>>>
>>>> All the users will be presented with this login page then.
>>>>
>>>> Hope this helps.
>>>>
>>>> Regards,
>>>> Mandeep
>>>> www.simbacart.com
>>>> (ofbiz based)
>>>>
>>>>
>>>> On Fri, Feb 7, 2014 at 5:15 PM, apf &lt;
>>>> alex.paredes.flores@
>>>> &gt; wrote:
>>>>
>>>>> I can't seem to find info on how to go about creating a custom "home"
>>>>> page
>>>>> or
>>>>> login form. Experienced web developer here, but new to Ofbiz. Point me
>>> in
>>>>> the right direction? Google/archives aren't showing anything about
>>> this
>>>>> topic.
>>>>>
>>>>>
>>>>> Adrian Crum-3 wrote
>>>>>> A common solution is to create a custom "home" page that all users
>>> log
>>>>>> into.
>>>>>>
>>>>>> Adrian Crum
>>>>>> Sandglass Software
>>>>>> www.sandglass-software.com
>>>>>>
>>>>>> On 2/7/2014 3:26 PM, apf wrote:
>>>>>>> Thanks for clarifying that. I'd be more than glad to share my
>>>>> solution,
>>>>>>> once
>>>>>>> I come up with one...
>>>>>>>
>>>>>>> So if I understood correctly, Ofbiz login process requires a user
>>> to
>>>>> go
>>>>>>> to
>>>>>>> the specific URL of the application they have access to, otherwise
>>>>> they
>>>>>>> can't log in. And there is no common login page that exists, which
>>> can
>>>>>>> send
>>>>>>> the user to the correct URL after logging in, or display a page
>>> which
>>>>>>> shows
>>>>>>> the apps the have access to.
>>>>>>>
>>>>>>> Best Regards,
>>>>>>> AP
>>>>>>>
>>>>>>>
>>>>>>> Pierre Smits wrote
>>>>>>>> Alex,
>>>>>>>>
>>>>>>>> Opentaps is not OFBiz, OFBiz is not Opentaps. If the were one and
>>> the
>>>>>>>> same
>>>>>>>> the login would be the same.
>>>>>>>>
>>>>>>>> Access to applications is determined by the permissions a user
>>> has.
>>>>>>>> Unfortunately, there is not one application that will serve a a
>>>>>>>> placeholder
>>>>>>>> for login and logout. I you feel up to it, please share your
>>>>> solution.
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> Pierre Smits
>>>>>>>>
>>>>>>>> *ORRTIZ.COM &lt;http://www.orrtiz.com&gt;*
>>>>>>>> Services & Solutions for Cloud-
>>>>>>>> Based Manufacturing, Professional
>>>>>>>> Services and Retail & Trade
>>>>>>>> http://www.orrtiz.com
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sat, Feb 8, 2014 at 12:04 AM, apf &lt;
>>>>>>>> alex.paredes.flores@
>>>>>>>> &gt; wrote:
>>>>>>>>
>>>>>>>>> Hi, thanks for the reply. I'm aware those links exist, but my
>>>>> question
>>>>>>>>> is
>>>>>>>>> if
>>>>>>>>> there is a page that allows all users to login regardless of what
>>>>>>>>> applications they have access to? And once logged in, show them
>>> only
>>>>>>>>> the
>>>>>>>>> apps they have access to? This is the login process for Opentaps,
>>>>> just
>>>>>>>>> wondering how to achieve this in Ofbiz.
>>>>>>>>>
>>>>>>>>> Kind Regards,
>>>>>>>>> AP
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> View this message in context:
>>>>>>>>>
>>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648159.html
>>>>>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>>
>>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648161.html
>>>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>>
>>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648163.html
>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648165.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>
>
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648167.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: General login page for all users?

Posted by Mandeep Sidhu <ma...@gmail.com>.
For all the backend applications the single sign on file is located at the
below location.
framework/common/webcommon/login.ftl

If you want to include this sign on in any of your apps all you need to do
is include the below controller entry in your apps *controller.xml *file
which is mostly located under the WEB-INF directory for e.g.
applications/marketing/webapp/marketing/WEB-INF/controller.xml

#Entry for single sign on in any controller.xml
<include
location="component://common/webcommon/WEB-INF/common-controller.xml"/>

Regards,
Mandeep
www.simbacart.com
(Ofbiz based)


On Fri, Feb 7, 2014 at 6:59 PM, apf <al...@gmail.com> wrote:

> That's extremely helpful for ecommerce login, thank you. But I am looking
> to
> do this for the back-end applications login.
>
>
> Mandeep Sidhu wrote
> > There are two different login flows actually. Single sign on is for all
> > back end applications (AR/AP/Accounting/Catalog etc.). For the front end
> > store the login is handled in the ecommerce app located at
> > speciapurpose/ecommerce/webapp/ecommerce/login.ftl
> >
> > To change the front end store's look and feel you'll have to change files
> > under ecommerce app.
> >
> > Regards,
> > Mandeep
> > www.simbacart.com
> > (Ofbiz based)
> >
> >
> > On Fri, Feb 7, 2014 at 6:40 PM, apf &lt;
>
> > alex.paredes.flores@
>
> > &gt; wrote:
> >
> >> I have a fresh Ofbiz install, no hot-deploy apps. I'm not looking to
> >> change
> >> the looks, just get the "single sign on" working as you said. If it's
> >> well
> >> implemented, how can I setup a page for all users to login from there
> >> successfully? Thanks.
> >>
> >>
> >> Mandeep Sidhu wrote
> >> > I think single sign on is well implemented in ofbiz. If you got a
> >> > hot-deploy app, don't add an entry to handle login. The controller
> will
> >> > automatically handle it.
> >> >
> >> > If you want to customize the login page to give a look and feel of
> your
> >> > org, which I did as well you need to modify the file at the following
> >> > location.
> >> > framework\common\webcommon\login.ftl
> >> >
> >> > All the users will be presented with this login page then.
> >> >
> >> > Hope this helps.
> >> >
> >> > Regards,
> >> > Mandeep
> >> > www.simbacart.com
> >> > (ofbiz based)
> >> >
> >> >
> >> > On Fri, Feb 7, 2014 at 5:15 PM, apf &lt;
> >>
> >> > alex.paredes.flores@
> >>
> >> > &gt; wrote:
> >> >
> >> >> I can't seem to find info on how to go about creating a custom "home"
> >> >> page
> >> >> or
> >> >> login form. Experienced web developer here, but new to Ofbiz. Point
> me
> >> in
> >> >> the right direction? Google/archives aren't showing anything about
> >> this
> >> >> topic.
> >> >>
> >> >>
> >> >> Adrian Crum-3 wrote
> >> >> > A common solution is to create a custom "home" page that all users
> >> log
> >> >> > into.
> >> >> >
> >> >> > Adrian Crum
> >> >> > Sandglass Software
> >> >> > www.sandglass-software.com
> >> >> >
> >> >> > On 2/7/2014 3:26 PM, apf wrote:
> >> >> >> Thanks for clarifying that. I'd be more than glad to share my
> >> >> solution,
> >> >> >> once
> >> >> >> I come up with one...
> >> >> >>
> >> >> >> So if I understood correctly, Ofbiz login process requires a user
> >> to
> >> >> go
> >> >> >> to
> >> >> >> the specific URL of the application they have access to, otherwise
> >> >> they
> >> >> >> can't log in. And there is no common login page that exists, which
> >> can
> >> >> >> send
> >> >> >> the user to the correct URL after logging in, or display a page
> >> which
> >> >> >> shows
> >> >> >> the apps the have access to.
> >> >> >>
> >> >> >> Best Regards,
> >> >> >> AP
> >> >> >>
> >> >> >>
> >> >> >> Pierre Smits wrote
> >> >> >>> Alex,
> >> >> >>>
> >> >> >>> Opentaps is not OFBiz, OFBiz is not Opentaps. If the were one and
> >> the
> >> >> >>> same
> >> >> >>> the login would be the same.
> >> >> >>>
> >> >> >>> Access to applications is determined by the permissions a user
> >> has.
> >> >> >>> Unfortunately, there is not one application that will serve a a
> >> >> >>> placeholder
> >> >> >>> for login and logout. I you feel up to it, please share your
> >> >> solution.
> >> >> >>>
> >> >> >>> Regards,
> >> >> >>>
> >> >> >>> Pierre Smits
> >> >> >>>
> >> >> >>> *ORRTIZ.COM &lt;http://www.orrtiz.com&gt;*
> >> >> >>> Services & Solutions for Cloud-
> >> >> >>> Based Manufacturing, Professional
> >> >> >>> Services and Retail & Trade
> >> >> >>> http://www.orrtiz.com
> >> >> >>>
> >> >> >>>
> >> >> >>> On Sat, Feb 8, 2014 at 12:04 AM, apf &lt;
> >> >> >>
> >> >> >>> alex.paredes.flores@
> >> >> >>
> >> >> >>> &gt; wrote:
> >> >> >>>
> >> >> >>>> Hi, thanks for the reply. I'm aware those links exist, but my
> >> >> question
> >> >> >>>> is
> >> >> >>>> if
> >> >> >>>> there is a page that allows all users to login regardless of
> what
> >> >> >>>> applications they have access to? And once logged in, show them
> >> only
> >> >> >>>> the
> >> >> >>>> apps they have access to? This is the login process for
> Opentaps,
> >> >> just
> >> >> >>>> wondering how to achieve this in Ofbiz.
> >> >> >>>>
> >> >> >>>> Kind Regards,
> >> >> >>>> AP
> >> >> >>>>
> >> >> >>>>
> >> >> >>>>
> >> >> >>>> --
> >> >> >>>> View this message in context:
> >> >> >>>>
> >> >>
> >>
> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648159.html
> >> >> >>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >> >> >>>>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648161.html
> >> >> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648163.html
> >> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >> >>
> >>
> >>
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648165.html
> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >>
>
>
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648167.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Re: General login page for all users?

Posted by apf <al...@gmail.com>.
That's extremely helpful for ecommerce login, thank you. But I am looking to
do this for the back-end applications login. 


Mandeep Sidhu wrote
> There are two different login flows actually. Single sign on is for all
> back end applications (AR/AP/Accounting/Catalog etc.). For the front end
> store the login is handled in the ecommerce app located at
> speciapurpose/ecommerce/webapp/ecommerce/login.ftl
> 
> To change the front end store's look and feel you'll have to change files
> under ecommerce app.
> 
> Regards,
> Mandeep
> www.simbacart.com
> (Ofbiz based)
> 
> 
> On Fri, Feb 7, 2014 at 6:40 PM, apf &lt;

> alex.paredes.flores@

> &gt; wrote:
> 
>> I have a fresh Ofbiz install, no hot-deploy apps. I'm not looking to
>> change
>> the looks, just get the "single sign on" working as you said. If it's
>> well
>> implemented, how can I setup a page for all users to login from there
>> successfully? Thanks.
>>
>>
>> Mandeep Sidhu wrote
>> > I think single sign on is well implemented in ofbiz. If you got a
>> > hot-deploy app, don't add an entry to handle login. The controller will
>> > automatically handle it.
>> >
>> > If you want to customize the login page to give a look and feel of your
>> > org, which I did as well you need to modify the file at the following
>> > location.
>> > framework\common\webcommon\login.ftl
>> >
>> > All the users will be presented with this login page then.
>> >
>> > Hope this helps.
>> >
>> > Regards,
>> > Mandeep
>> > www.simbacart.com
>> > (ofbiz based)
>> >
>> >
>> > On Fri, Feb 7, 2014 at 5:15 PM, apf &lt;
>>
>> > alex.paredes.flores@
>>
>> > &gt; wrote:
>> >
>> >> I can't seem to find info on how to go about creating a custom "home"
>> >> page
>> >> or
>> >> login form. Experienced web developer here, but new to Ofbiz. Point me
>> in
>> >> the right direction? Google/archives aren't showing anything about
>> this
>> >> topic.
>> >>
>> >>
>> >> Adrian Crum-3 wrote
>> >> > A common solution is to create a custom "home" page that all users
>> log
>> >> > into.
>> >> >
>> >> > Adrian Crum
>> >> > Sandglass Software
>> >> > www.sandglass-software.com
>> >> >
>> >> > On 2/7/2014 3:26 PM, apf wrote:
>> >> >> Thanks for clarifying that. I'd be more than glad to share my
>> >> solution,
>> >> >> once
>> >> >> I come up with one...
>> >> >>
>> >> >> So if I understood correctly, Ofbiz login process requires a user
>> to
>> >> go
>> >> >> to
>> >> >> the specific URL of the application they have access to, otherwise
>> >> they
>> >> >> can't log in. And there is no common login page that exists, which
>> can
>> >> >> send
>> >> >> the user to the correct URL after logging in, or display a page
>> which
>> >> >> shows
>> >> >> the apps the have access to.
>> >> >>
>> >> >> Best Regards,
>> >> >> AP
>> >> >>
>> >> >>
>> >> >> Pierre Smits wrote
>> >> >>> Alex,
>> >> >>>
>> >> >>> Opentaps is not OFBiz, OFBiz is not Opentaps. If the were one and
>> the
>> >> >>> same
>> >> >>> the login would be the same.
>> >> >>>
>> >> >>> Access to applications is determined by the permissions a user
>> has.
>> >> >>> Unfortunately, there is not one application that will serve a a
>> >> >>> placeholder
>> >> >>> for login and logout. I you feel up to it, please share your
>> >> solution.
>> >> >>>
>> >> >>> Regards,
>> >> >>>
>> >> >>> Pierre Smits
>> >> >>>
>> >> >>> *ORRTIZ.COM &lt;http://www.orrtiz.com&gt;*
>> >> >>> Services & Solutions for Cloud-
>> >> >>> Based Manufacturing, Professional
>> >> >>> Services and Retail & Trade
>> >> >>> http://www.orrtiz.com
>> >> >>>
>> >> >>>
>> >> >>> On Sat, Feb 8, 2014 at 12:04 AM, apf &lt;
>> >> >>
>> >> >>> alex.paredes.flores@
>> >> >>
>> >> >>> &gt; wrote:
>> >> >>>
>> >> >>>> Hi, thanks for the reply. I'm aware those links exist, but my
>> >> question
>> >> >>>> is
>> >> >>>> if
>> >> >>>> there is a page that allows all users to login regardless of what
>> >> >>>> applications they have access to? And once logged in, show them
>> only
>> >> >>>> the
>> >> >>>> apps they have access to? This is the login process for Opentaps,
>> >> just
>> >> >>>> wondering how to achieve this in Ofbiz.
>> >> >>>>
>> >> >>>> Kind Regards,
>> >> >>>> AP
>> >> >>>>
>> >> >>>>
>> >> >>>>
>> >> >>>> --
>> >> >>>> View this message in context:
>> >> >>>>
>> >>
>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648159.html
>> >> >>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>> >> >>>>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648161.html
>> >> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
>> >> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648163.html
>> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
>> >>
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648165.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>





--
View this message in context: http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648167.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: General login page for all users?

Posted by apf <al...@gmail.com>.
Hi, as promised I'm sharing my solution. It's based on tips here, thanks. I
made an Ofbiz application that adds a central login page for all users, and
displays Icons of the applications they can access.

Here's the app (see the screenshot for results):  
www.github.com/aparedesflores/ofbiz-central-login

Thanks for all the tips, feel free to contribute and improve it. 

Cheers,
AP 



--
View this message in context: http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648320.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: General login page for all users?

Posted by Mandeep Sidhu <ma...@gmail.com>.
There are two different login flows actually. Single sign on is for all
back end applications (AR/AP/Accounting/Catalog etc.). For the front end
store the login is handled in the ecommerce app located at
speciapurpose/ecommerce/webapp/ecommerce/login.ftl

To change the front end store's look and feel you'll have to change files
under ecommerce app.

Regards,
Mandeep
www.simbacart.com
(Ofbiz based)


On Fri, Feb 7, 2014 at 6:40 PM, apf <al...@gmail.com> wrote:

> I have a fresh Ofbiz install, no hot-deploy apps. I'm not looking to change
> the looks, just get the "single sign on" working as you said. If it's well
> implemented, how can I setup a page for all users to login from there
> successfully? Thanks.
>
>
> Mandeep Sidhu wrote
> > I think single sign on is well implemented in ofbiz. If you got a
> > hot-deploy app, don't add an entry to handle login. The controller will
> > automatically handle it.
> >
> > If you want to customize the login page to give a look and feel of your
> > org, which I did as well you need to modify the file at the following
> > location.
> > framework\common\webcommon\login.ftl
> >
> > All the users will be presented with this login page then.
> >
> > Hope this helps.
> >
> > Regards,
> > Mandeep
> > www.simbacart.com
> > (ofbiz based)
> >
> >
> > On Fri, Feb 7, 2014 at 5:15 PM, apf &lt;
>
> > alex.paredes.flores@
>
> > &gt; wrote:
> >
> >> I can't seem to find info on how to go about creating a custom "home"
> >> page
> >> or
> >> login form. Experienced web developer here, but new to Ofbiz. Point me
> in
> >> the right direction? Google/archives aren't showing anything about this
> >> topic.
> >>
> >>
> >> Adrian Crum-3 wrote
> >> > A common solution is to create a custom "home" page that all users log
> >> > into.
> >> >
> >> > Adrian Crum
> >> > Sandglass Software
> >> > www.sandglass-software.com
> >> >
> >> > On 2/7/2014 3:26 PM, apf wrote:
> >> >> Thanks for clarifying that. I'd be more than glad to share my
> >> solution,
> >> >> once
> >> >> I come up with one...
> >> >>
> >> >> So if I understood correctly, Ofbiz login process requires a user to
> >> go
> >> >> to
> >> >> the specific URL of the application they have access to, otherwise
> >> they
> >> >> can't log in. And there is no common login page that exists, which
> can
> >> >> send
> >> >> the user to the correct URL after logging in, or display a page which
> >> >> shows
> >> >> the apps the have access to.
> >> >>
> >> >> Best Regards,
> >> >> AP
> >> >>
> >> >>
> >> >> Pierre Smits wrote
> >> >>> Alex,
> >> >>>
> >> >>> Opentaps is not OFBiz, OFBiz is not Opentaps. If the were one and
> the
> >> >>> same
> >> >>> the login would be the same.
> >> >>>
> >> >>> Access to applications is determined by the permissions a user has.
> >> >>> Unfortunately, there is not one application that will serve a a
> >> >>> placeholder
> >> >>> for login and logout. I you feel up to it, please share your
> >> solution.
> >> >>>
> >> >>> Regards,
> >> >>>
> >> >>> Pierre Smits
> >> >>>
> >> >>> *ORRTIZ.COM &lt;http://www.orrtiz.com&gt;*
> >> >>> Services & Solutions for Cloud-
> >> >>> Based Manufacturing, Professional
> >> >>> Services and Retail & Trade
> >> >>> http://www.orrtiz.com
> >> >>>
> >> >>>
> >> >>> On Sat, Feb 8, 2014 at 12:04 AM, apf &lt;
> >> >>
> >> >>> alex.paredes.flores@
> >> >>
> >> >>> &gt; wrote:
> >> >>>
> >> >>>> Hi, thanks for the reply. I'm aware those links exist, but my
> >> question
> >> >>>> is
> >> >>>> if
> >> >>>> there is a page that allows all users to login regardless of what
> >> >>>> applications they have access to? And once logged in, show them
> only
> >> >>>> the
> >> >>>> apps they have access to? This is the login process for Opentaps,
> >> just
> >> >>>> wondering how to achieve this in Ofbiz.
> >> >>>>
> >> >>>> Kind Regards,
> >> >>>> AP
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> --
> >> >>>> View this message in context:
> >> >>>>
> >>
> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648159.html
> >> >>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >> >>>>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648161.html
> >> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >> >>
> >>
> >>
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648163.html
> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >>
>
>
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648165.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Re: General login page for all users?

Posted by apf <al...@gmail.com>.
I have a fresh Ofbiz install, no hot-deploy apps. I'm not looking to change
the looks, just get the "single sign on" working as you said. If it's well
implemented, how can I setup a page for all users to login from there
successfully? Thanks. 


Mandeep Sidhu wrote
> I think single sign on is well implemented in ofbiz. If you got a
> hot-deploy app, don't add an entry to handle login. The controller will
> automatically handle it.
> 
> If you want to customize the login page to give a look and feel of your
> org, which I did as well you need to modify the file at the following
> location.
> framework\common\webcommon\login.ftl
> 
> All the users will be presented with this login page then.
> 
> Hope this helps.
> 
> Regards,
> Mandeep
> www.simbacart.com
> (ofbiz based)
> 
> 
> On Fri, Feb 7, 2014 at 5:15 PM, apf &lt;

> alex.paredes.flores@

> &gt; wrote:
> 
>> I can't seem to find info on how to go about creating a custom "home"
>> page
>> or
>> login form. Experienced web developer here, but new to Ofbiz. Point me in
>> the right direction? Google/archives aren't showing anything about this
>> topic.
>>
>>
>> Adrian Crum-3 wrote
>> > A common solution is to create a custom "home" page that all users log
>> > into.
>> >
>> > Adrian Crum
>> > Sandglass Software
>> > www.sandglass-software.com
>> >
>> > On 2/7/2014 3:26 PM, apf wrote:
>> >> Thanks for clarifying that. I'd be more than glad to share my
>> solution,
>> >> once
>> >> I come up with one...
>> >>
>> >> So if I understood correctly, Ofbiz login process requires a user to
>> go
>> >> to
>> >> the specific URL of the application they have access to, otherwise
>> they
>> >> can't log in. And there is no common login page that exists, which can
>> >> send
>> >> the user to the correct URL after logging in, or display a page which
>> >> shows
>> >> the apps the have access to.
>> >>
>> >> Best Regards,
>> >> AP
>> >>
>> >>
>> >> Pierre Smits wrote
>> >>> Alex,
>> >>>
>> >>> Opentaps is not OFBiz, OFBiz is not Opentaps. If the were one and the
>> >>> same
>> >>> the login would be the same.
>> >>>
>> >>> Access to applications is determined by the permissions a user has.
>> >>> Unfortunately, there is not one application that will serve a a
>> >>> placeholder
>> >>> for login and logout. I you feel up to it, please share your
>> solution.
>> >>>
>> >>> Regards,
>> >>>
>> >>> Pierre Smits
>> >>>
>> >>> *ORRTIZ.COM &lt;http://www.orrtiz.com&gt;*
>> >>> Services & Solutions for Cloud-
>> >>> Based Manufacturing, Professional
>> >>> Services and Retail & Trade
>> >>> http://www.orrtiz.com
>> >>>
>> >>>
>> >>> On Sat, Feb 8, 2014 at 12:04 AM, apf &lt;
>> >>
>> >>> alex.paredes.flores@
>> >>
>> >>> &gt; wrote:
>> >>>
>> >>>> Hi, thanks for the reply. I'm aware those links exist, but my
>> question
>> >>>> is
>> >>>> if
>> >>>> there is a page that allows all users to login regardless of what
>> >>>> applications they have access to? And once logged in, show them only
>> >>>> the
>> >>>> apps they have access to? This is the login process for Opentaps,
>> just
>> >>>> wondering how to achieve this in Ofbiz.
>> >>>>
>> >>>> Kind Regards,
>> >>>> AP
>> >>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>> View this message in context:
>> >>>>
>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648159.html
>> >>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>> >>>>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648161.html
>> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
>> >>
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648163.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>





--
View this message in context: http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648165.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: General login page for all users?

Posted by Mandeep Sidhu <ma...@gmail.com>.
I think single sign on is well implemented in ofbiz. If you got a
hot-deploy app, don't add an entry to handle login. The controller will
automatically handle it.

If you want to customize the login page to give a look and feel of your
org, which I did as well you need to modify the file at the following
location.
framework\common\webcommon\login.ftl

All the users will be presented with this login page then.

Hope this helps.

Regards,
Mandeep
www.simbacart.com
(ofbiz based)


On Fri, Feb 7, 2014 at 5:15 PM, apf <al...@gmail.com> wrote:

> I can't seem to find info on how to go about creating a custom "home" page
> or
> login form. Experienced web developer here, but new to Ofbiz. Point me in
> the right direction? Google/archives aren't showing anything about this
> topic.
>
>
> Adrian Crum-3 wrote
> > A common solution is to create a custom "home" page that all users log
> > into.
> >
> > Adrian Crum
> > Sandglass Software
> > www.sandglass-software.com
> >
> > On 2/7/2014 3:26 PM, apf wrote:
> >> Thanks for clarifying that. I'd be more than glad to share my solution,
> >> once
> >> I come up with one...
> >>
> >> So if I understood correctly, Ofbiz login process requires a user to go
> >> to
> >> the specific URL of the application they have access to, otherwise they
> >> can't log in. And there is no common login page that exists, which can
> >> send
> >> the user to the correct URL after logging in, or display a page which
> >> shows
> >> the apps the have access to.
> >>
> >> Best Regards,
> >> AP
> >>
> >>
> >> Pierre Smits wrote
> >>> Alex,
> >>>
> >>> Opentaps is not OFBiz, OFBiz is not Opentaps. If the were one and the
> >>> same
> >>> the login would be the same.
> >>>
> >>> Access to applications is determined by the permissions a user has.
> >>> Unfortunately, there is not one application that will serve a a
> >>> placeholder
> >>> for login and logout. I you feel up to it, please share your solution.
> >>>
> >>> Regards,
> >>>
> >>> Pierre Smits
> >>>
> >>> *ORRTIZ.COM &lt;http://www.orrtiz.com&gt;*
> >>> Services & Solutions for Cloud-
> >>> Based Manufacturing, Professional
> >>> Services and Retail & Trade
> >>> http://www.orrtiz.com
> >>>
> >>>
> >>> On Sat, Feb 8, 2014 at 12:04 AM, apf &lt;
> >>
> >>> alex.paredes.flores@
> >>
> >>> &gt; wrote:
> >>>
> >>>> Hi, thanks for the reply. I'm aware those links exist, but my question
> >>>> is
> >>>> if
> >>>> there is a page that allows all users to login regardless of what
> >>>> applications they have access to? And once logged in, show them only
> >>>> the
> >>>> apps they have access to? This is the login process for Opentaps, just
> >>>> wondering how to achieve this in Ofbiz.
> >>>>
> >>>> Kind Regards,
> >>>> AP
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> View this message in context:
> >>>>
> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648159.html
> >>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >>>>
> >>
> >>
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648161.html
> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >>
>
>
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648163.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Re: General login page for all users?

Posted by apf <al...@gmail.com>.
I can't seem to find info on how to go about creating a custom "home" page or
login form. Experienced web developer here, but new to Ofbiz. Point me in
the right direction? Google/archives aren't showing anything about this
topic.


Adrian Crum-3 wrote
> A common solution is to create a custom "home" page that all users log
> into.
> 
> Adrian Crum
> Sandglass Software
> www.sandglass-software.com
> 
> On 2/7/2014 3:26 PM, apf wrote:
>> Thanks for clarifying that. I'd be more than glad to share my solution,
>> once
>> I come up with one...
>>
>> So if I understood correctly, Ofbiz login process requires a user to go
>> to
>> the specific URL of the application they have access to, otherwise they
>> can't log in. And there is no common login page that exists, which can
>> send
>> the user to the correct URL after logging in, or display a page which
>> shows
>> the apps the have access to.
>>
>> Best Regards,
>> AP
>>
>>
>> Pierre Smits wrote
>>> Alex,
>>>
>>> Opentaps is not OFBiz, OFBiz is not Opentaps. If the were one and the
>>> same
>>> the login would be the same.
>>>
>>> Access to applications is determined by the permissions a user has.
>>> Unfortunately, there is not one application that will serve a a
>>> placeholder
>>> for login and logout. I you feel up to it, please share your solution.
>>>
>>> Regards,
>>>
>>> Pierre Smits
>>>
>>> *ORRTIZ.COM &lt;http://www.orrtiz.com&gt;*
>>> Services & Solutions for Cloud-
>>> Based Manufacturing, Professional
>>> Services and Retail & Trade
>>> http://www.orrtiz.com
>>>
>>>
>>> On Sat, Feb 8, 2014 at 12:04 AM, apf &lt;
>>
>>> alex.paredes.flores@
>>
>>> &gt; wrote:
>>>
>>>> Hi, thanks for the reply. I'm aware those links exist, but my question
>>>> is
>>>> if
>>>> there is a page that allows all users to login regardless of what
>>>> applications they have access to? And once logged in, show them only
>>>> the
>>>> apps they have access to? This is the login process for Opentaps, just
>>>> wondering how to achieve this in Ofbiz.
>>>>
>>>> Kind Regards,
>>>> AP
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648159.html
>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648161.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>





--
View this message in context: http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648163.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: General login page for all users?

Posted by Adrian Crum <ad...@sandglass-software.com>.
A common solution is to create a custom "home" page that all users log into.

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 2/7/2014 3:26 PM, apf wrote:
> Thanks for clarifying that. I'd be more than glad to share my solution, once
> I come up with one...
>
> So if I understood correctly, Ofbiz login process requires a user to go to
> the specific URL of the application they have access to, otherwise they
> can't log in. And there is no common login page that exists, which can send
> the user to the correct URL after logging in, or display a page which shows
> the apps the have access to.
>
> Best Regards,
> AP
>
>
> Pierre Smits wrote
>> Alex,
>>
>> Opentaps is not OFBiz, OFBiz is not Opentaps. If the were one and the same
>> the login would be the same.
>>
>> Access to applications is determined by the permissions a user has.
>> Unfortunately, there is not one application that will serve a a
>> placeholder
>> for login and logout. I you feel up to it, please share your solution.
>>
>> Regards,
>>
>> Pierre Smits
>>
>> *ORRTIZ.COM &lt;http://www.orrtiz.com&gt;*
>> Services & Solutions for Cloud-
>> Based Manufacturing, Professional
>> Services and Retail & Trade
>> http://www.orrtiz.com
>>
>>
>> On Sat, Feb 8, 2014 at 12:04 AM, apf &lt;
>
>> alex.paredes.flores@
>
>> &gt; wrote:
>>
>>> Hi, thanks for the reply. I'm aware those links exist, but my question is
>>> if
>>> there is a page that allows all users to login regardless of what
>>> applications they have access to? And once logged in, show them only the
>>> apps they have access to? This is the login process for Opentaps, just
>>> wondering how to achieve this in Ofbiz.
>>>
>>> Kind Regards,
>>> AP
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648159.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>
>
>
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648161.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Re: General login page for all users?

Posted by apf <al...@gmail.com>.
Thanks for clarifying that. I'd be more than glad to share my solution, once
I come up with one... 

So if I understood correctly, Ofbiz login process requires a user to go to
the specific URL of the application they have access to, otherwise they
can't log in. And there is no common login page that exists, which can send
the user to the correct URL after logging in, or display a page which shows
the apps the have access to. 

Best Regards,
AP


Pierre Smits wrote
> Alex,
> 
> Opentaps is not OFBiz, OFBiz is not Opentaps. If the were one and the same
> the login would be the same.
> 
> Access to applications is determined by the permissions a user has.
> Unfortunately, there is not one application that will serve a a
> placeholder
> for login and logout. I you feel up to it, please share your solution.
> 
> Regards,
> 
> Pierre Smits
> 
> *ORRTIZ.COM &lt;http://www.orrtiz.com&gt;*
> Services & Solutions for Cloud-
> Based Manufacturing, Professional
> Services and Retail & Trade
> http://www.orrtiz.com
> 
> 
> On Sat, Feb 8, 2014 at 12:04 AM, apf &lt;

> alex.paredes.flores@

> &gt; wrote:
> 
>> Hi, thanks for the reply. I'm aware those links exist, but my question is
>> if
>> there is a page that allows all users to login regardless of what
>> applications they have access to? And once logged in, show them only the
>> apps they have access to? This is the login process for Opentaps, just
>> wondering how to achieve this in Ofbiz.
>>
>> Kind Regards,
>> AP
>>
>>
>>
>> --
>> View this message in context:
>> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648159.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>





--
View this message in context: http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648161.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: General login page for all users?

Posted by Pierre Smits <pi...@gmail.com>.
Alex,

Opentaps is not OFBiz, OFBiz is not Opentaps. If the were one and the same
the login would be the same.

Access to applications is determined by the permissions a user has.
Unfortunately, there is not one application that will serve a a placeholder
for login and logout. I you feel up to it, please share your solution.

Regards,

Pierre Smits

*ORRTIZ.COM <http://www.orrtiz.com>*
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com


On Sat, Feb 8, 2014 at 12:04 AM, apf <al...@gmail.com> wrote:

> Hi, thanks for the reply. I'm aware those links exist, but my question is
> if
> there is a page that allows all users to login regardless of what
> applications they have access to? And once logged in, show them only the
> apps they have access to? This is the login process for Opentaps, just
> wondering how to achieve this in Ofbiz.
>
> Kind Regards,
> AP
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648159.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Re: General login page for all users?

Posted by apf <al...@gmail.com>.
Hi, thanks for the reply. I'm aware those links exist, but my question is if
there is a page that allows all users to login regardless of what
applications they have access to? And once logged in, show them only the
apps they have access to? This is the login process for Opentaps, just
wondering how to achieve this in Ofbiz. 

Kind Regards,
AP 



--
View this message in context: http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156p4648159.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: General login page for all users?

Posted by Pierre Smits <pi...@gmail.com>.
Hi Alex,

The main page  /webtools/control/m/ain is intended to access the webtools
of OFBiz. All the other applications under the OFBiz umbrella can be
accessed through /<appname>/control/main, e.g. /catalog/control/main, and
share the same login screen.

Regards,

Pierre Smits

*ORRTIZ.COM <http://www.orrtiz.com>*
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com


On Fri, Feb 7, 2014 at 10:30 PM, apf <al...@gmail.com> wrote:

> Hello, does a general login page exists for all users to access their apps?
> The main page "/webtools/control/main" has a login link that sends me to
> the
> admin login page "webtools/control/checkLogin" BUT only the admin can login
> here... all other users get an error.
>
> Is there a login page for all? Where anyone can login to access their
> specific apps?
>
> For example in Opentaps, once you log in with any user, then you can see
> the
> apps you have access to. So what's the best way to achieve this in Ofbiz?
> (and please don't say the best way is to give each user the specific app
> URL
> - i don't find that very user friendly :p )
>
> Also, what's the purpose of the main page at "/webtools/control/main" only
> thing there is a login link that simply sends you to the admin login
> page...
> How can I modify this page, and is it possibly get it to act as the main
> login page as explained above? I will have to modify this page, because
> when
> I log out it sends me there.
>
> Thank you for taking the time to read this :)
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/General-login-page-for-all-users-tp4648156.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>