• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Application Login Page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application Login Page


  • Subject: Re: Application Login Page
  • From: Philippe Rabier <email@hidden>
  • Date: Sun, 24 Nov 2013 14:54:03 +0100

Hi Miguel,

Sorry if it's a bit late but I can give you some piece of code. Not rocket science but maybe you won't lose time on this part.

What we do:
- reusable login panel + loginHelper
- used in D2W and non D2W apps
- of course no session until the user is authenticated
- handle SSL in deployment, no SSL in development
- the component used after user successfully logged in set by the application (that way a D2W page can be displayed or any other component).

Let me know in private.

Philippe

On 6 nov. 2013, at 23:26, Miguel Torres wrote:

Thanks Chuck and Amedeo for the response.

We are about to liberate an application that would be open to the mass market. All application we have developed so far are enterprise oriented and are used on intranets.

We want that the main page of our site be a landing page that allows the user to start the process of subscription or login on the app.

We think that if we separate the site's main page from the application is the best option but I will appreciate your point of view.

Best Regards


On 06/11/2013, at 16:12, Chuck Hill <email@hidden> wrote:

Very briefly, you need to:
  • make the form submit to a direct action
  • get the form values manually from the request
  • Return the real first page if authentication succeeds
  • Return the login page if not.  You will need to initialize with an error message if authentication failed

Chuck

-- 
Chuck Hill             
Executive Managing Partner, VP Development and Technical Services

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/gvc/practical_webobjects

Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! 

Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!

On 2013-11-06 3:57 PM, "Miguel Torres" wrote:

Hi list,

I am sure that I already have read about this some where but I can't find it.

We want to separate the login page from our application, I mean we want to create a session only if the user is authenticated.

We have been developing WebObjects apps for a long time but the login page is always the Main component, so when we open that component, a session is created even before the user tried to login.

Any hint will be very welcome.

Best Regards.


_______________________________

Ing. Miguel Angel Torres Avila 


Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Application Login Page (From: Chuck Hill <email@hidden>)
 >Re: Application Login Page (From: Miguel Torres <email@hidden>)

  • Prev by Date: Re: Bulding a true war
  • Next by Date: Entity join with different data sources?
  • Previous by thread: Re: Application Login Page
  • Next by thread: Re: Does Ajax work in Direct Connect Mode?
  • Index(es):
    • Date
    • Thread