Forum Post: RE: How to implement session service with form sso

  • Thread starter Thread starter riche
  • Start date Start date
Status
Not open for further replies.
R

riche

Guest
Yes, I should have given more information: It is an OpenEdge Mobile project using the AppDesigner. I've implemented the HybridRealm.cls and set up using appSecurity-form-oerealm.xml and can log in through the spring security check (static/auth/login.html). I would like it so that my app would have a login page of it's own, not pointing to that aforementioned form. I added a session service and was going to use this, but it automatically goes to the form mentioned above, which makes sense because that is where the appSecurity-form-oerealm.xml points it to. How do I set it up so that it will use the login page that I have created in the mobile app? Do I set the session settings authenticationModel to Form as well or leave this as Anonymous? I tried just creating the progress.data.Session in javascript and doing the login. It "looks" like it is successful, but when I call addCatalog, it gives me an error that no services property is in it, which is not true, so I am assuming that it wants me to log in again to get that catalog for some reason. Am I missing sending the Client-Principal back and forth somehow? All of the documentation that I've found talks about how to implement SPA and test using the given form, but doesn't help me implement in an OpenEdge Moblie using AppDesigner project.

Continue reading...
 
Status
Not open for further replies.
Back
Top