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 <[email protected]> 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 < > > > alex.paredes.flores@ > > > > 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 < > >> > >> > alex.paredes.flores@ > >> > >> > > 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 <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 < > >> >> >> > >> >> >>> alex.paredes.flores@ > >> >> >> > >> >> >>> > 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. >
