Has anyone got an example of using the accounts created/stored in ofbiz for authentication in another webapp (outside of the ofbiz tomcat)? regards, -Ryan |
you can use the framework. I have seen many that seem to have figured it
out. ryan sent the following on 2/11/2008 5:25 PM: > > Has anyone got an example of using the accounts created/stored in ofbiz > for authentication in another webapp (outside of the ofbiz tomcat)? > > regards, > -Ryan > > > > |
Thanks, but maybe my question wasn't clear - or maybe I'm just confused
- I have an external webapp, currently using jaas/j2ee - connected to ldap - I'd like to switch that to using the account store in ofbiz, but the app will still be external to ofbz - ie the framework won't be available - or am I missing something somewhere else? regards, -Ryan BJ Freeman wrote: > you can use the framework. I have seen many that seem to have figured it > out. > > ryan sent the following on 2/11/2008 5:25 PM: > >> Has anyone got an example of using the accounts created/stored in ofbiz >> for authentication in another webapp (outside of the ofbiz tomcat)? >> >> regards, >> -Ryan >> >> >> >> >> > > |
you will probably have to look at using SOAP to connect.
but if you going to use ofbiz for authentication there is a lot of traffic for each request made. At least that is my understanding. I think if is a lot of overhead for just authenticating. But other may give you a different perspective. ryan sent the following on 2/11/2008 5:47 PM: > Thanks, but maybe my question wasn't clear - or maybe I'm just confused > - I have an external webapp, currently using jaas/j2ee - connected to > ldap - I'd like to switch that to using the account store in ofbiz, but > the app will still be external to ofbz - ie the framework won't be > available - or am I missing something somewhere else? > > regards, > -Ryan > > BJ Freeman wrote: >> you can use the framework. I have seen many that seem to have figured it >> out. >> >> ryan sent the following on 2/11/2008 5:25 PM: >> >>> Has anyone got an example of using the accounts created/stored in ofbiz >>> for authentication in another webapp (outside of the ofbiz tomcat)? >>> >>> regards, >>> -Ryan >>> >>> >>> >>> >>> >> >> > > > > |
I think OfBiz can be configured to authenticate against an LDAP directory. That might be a better option. Can someone confirm OfBiz LDAP integration?
----- Original Message ----- From: "BJ Freeman" <[hidden email]> To: [hidden email] Sent: Monday, February 11, 2008 7:13:21 PM (GMT-0700) America/Denver Subject: Re: using ofbiz as an authentication store for a webapp? you will probably have to look at using SOAP to connect. but if you going to use ofbiz for authentication there is a lot of traffic for each request made. At least that is my understanding. I think if is a lot of overhead for just authenticating. But other may give you a different perspective. ryan sent the following on 2/11/2008 5:47 PM: > Thanks, but maybe my question wasn't clear - or maybe I'm just confused > - I have an external webapp, currently using jaas/j2ee - connected to > ldap - I'd like to switch that to using the account store in ofbiz, but > the app will still be external to ofbz - ie the framework won't be > available - or am I missing something somewhere else? > > regards, > -Ryan > > BJ Freeman wrote: >> you can use the framework. I have seen many that seem to have figured it >> out. >> >> ryan sent the following on 2/11/2008 5:25 PM: >> >>> Has anyone got an example of using the accounts created/stored in ofbiz >>> for authentication in another webapp (outside of the ofbiz tomcat)? >>> >>> regards, >>> -Ryan >>> >>> >>> >>> >>> >> >> > > > > |
thanks again,
more background: I'm building an "account management" feature for an app that already is extensively based on GWT for ui. Ofbiz fits very nicely with what we want for the backend account features, but the ofbiz ui components don't fit well, so I am working from the presumption that I will be building a soap interface. So more specific questions would be: * Can I export the services in "LoginServices.java" with SOAP or XML-RPC? Setting 'export="true"' in the attributes of the servicedef doesn't seem to work: Request SOAPService caused an error with the following message: Error calling event: org.ofbiz.webapp.event.EventHandlerException: Unable to obtain WSDL (WSDLException: faultCode=OTHER_ERROR: Service cannot be described with WSDL (userLoginSession / java.util.Map)) * Has anyone successfully setup Tomcat JDBCRealm (http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#Standard%20Realm%20Implementations) to work with the OfBiz DB? What about a custom Realm for OfBiz? * Any tips about accessing OFBiz from GWT apps? I've read the threads previously posted here, but they were pretty light on practical advice. I am assuming I'll need to do the following: -- build ofbiz app with service defs but no ui, service impls consisting of pass-thru calls to the existing ofbiz services (party, order, catalog), and build a SOAP interface with Java2WSDL or others -- in the GWT servlet side use SOAP to get at ofbiz objects/methods -- in the GWT client side use GWT's methods to get at the servlet * Can I expose the services as xmlrpc to skip the middle step above? thanks, -Ryan Vince M. Clark wrote: > I think OfBiz can be configured to authenticate against an LDAP directory. That might be a better option. Can someone confirm OfBiz LDAP integration? > > ----- Original Message ----- > From: "BJ Freeman" <[hidden email]> > To: [hidden email] > Sent: Monday, February 11, 2008 7:13:21 PM (GMT-0700) America/Denver > Subject: Re: using ofbiz as an authentication store for a webapp? > > you will probably have to look at using SOAP to connect. > but if you going to use ofbiz for authentication there is a lot of > traffic for each request made. At least that is my understanding. > > I think if is a lot of overhead for just authenticating. > But other may give you a different perspective. > > > > > ryan sent the following on 2/11/2008 5:47 PM: > >> Thanks, but maybe my question wasn't clear - or maybe I'm just confused >> - I have an external webapp, currently using jaas/j2ee - connected to >> ldap - I'd like to switch that to using the account store in ofbiz, but >> the app will still be external to ofbz - ie the framework won't be >> available - or am I missing something somewhere else? >> >> regards, >> -Ryan >> >> BJ Freeman wrote: >> >>> you can use the framework. I have seen many that seem to have figured it >>> out. >>> >>> ryan sent the following on 2/11/2008 5:25 PM: >>> >>> >>>> Has anyone got an example of using the accounts created/stored in ofbiz >>>> for authentication in another webapp (outside of the ofbiz tomcat)? >>>> >>>> regards, >>>> -Ryan >>>> >>>> >>>> >>>> >>>> >>>> >>> >> >> >> > > > |
Administrator
|
From: "ryan" <[hidden email]>
> thanks again, > > more background: I'm building an "account management" feature for an app > that already is extensively based on GWT for ui. Ofbiz fits very nicely > with what we want for the backend account features, but the ofbiz ui > components don't fit well, so I am working from the presumption that I > will be building a soap interface. So more specific questions would be: > > * Can I export the services in "LoginServices.java" with SOAP or > XML-RPC? Setting 'export="true"' in the attributes of the servicedef > doesn't seem to work: > > Request SOAPService caused an error with the following message: > Error calling event: org.ofbiz.webapp.event.EventHandlerException: > Unable to obtain WSDL (WSDLException: faultCode=OTHER_ERROR: Service > cannot be described with WSDL (userLoginSession / java.util.Map)) You should have a look at http://www.nabble.com/Using-SOAP-complex-types-with-OfBiz-td9180865.html Jacques |
In reply to this post by ryan-116
A related question: are there instructions on how to install non ofbiz
apps inside the embedded container? Seems that this might be a path to success for the GWT integration. ryan wrote: > > * Any tips about accessing OFBiz from GWT apps? I've read the threads > previously posted here, but they were pretty light on practical > advice. I am assuming I'll need to do the following: > > -- build ofbiz app with service defs but no ui, service impls > consisting of pass-thru calls to the existing ofbiz services (party, > order, catalog), and build a SOAP interface with Java2WSDL or others > -- in the GWT servlet side use SOAP to get at ofbiz objects/methods > -- in the GWT client side use GWT's methods to get at the servlet > > * Can I expose the services as xmlrpc to skip the middle step above? > > thanks, > -Ryan > > > Vince M. Clark wrote: >> I think OfBiz can be configured to authenticate against an LDAP >> directory. That might be a better option. Can someone confirm OfBiz >> LDAP integration? >> ----- Original Message ----- From: "BJ Freeman" <[hidden email]> >> To: [hidden email] Sent: Monday, February 11, 2008 7:13:21 PM >> (GMT-0700) America/Denver Subject: Re: using ofbiz as an >> authentication store for a webapp? >> you will probably have to look at using SOAP to connect. but if you >> going to use ofbiz for authentication there is a lot of traffic for >> each request made. At least that is my understanding. >> I think if is a lot of overhead for just authenticating. But other >> may give you a different perspective. >> >> >> >> ryan sent the following on 2/11/2008 5:47 PM: >>> Thanks, but maybe my question wasn't clear - or maybe I'm just >>> confused - I have an external webapp, currently using jaas/j2ee - >>> connected to ldap - I'd like to switch that to using the account >>> store in ofbiz, but the app will still be external to ofbz - ie the >>> framework won't be available - or am I missing something somewhere >>> else? >>> regards, -Ryan >>> BJ Freeman wrote: >>>> you can use the framework. I have seen many that seem to have >>>> figured it out. >>>> ryan sent the following on 2/11/2008 5:25 PM: >>>> >>>>> Has anyone got an example of using the accounts created/stored in >>>>> ofbiz for authentication in another webapp (outside of the ofbiz >>>>> tomcat)? >>>>> regards, -Ryan >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>> >>> >>> >> >> >> > |
Free forum by Nabble | Edit this page |