On Mon, Oct 27, 2014 at 7:30 AM, George Christman <[email protected]>
wrote:
> That's great Kalle. Thanks
>
> Question, I see you deprecated some methods, but I'm not seeing any
> documentation on the new usage. I'm using the following code and I'm seeing
> getSuccessPage() and getLoginPage() has been deprecated. I think I read
>
LoginContextService is internal because that part of the API is still in
flux. The getXxxURL() operations will replace getXxxPage() operations
(because they return a string, not a page). So far, they do the same exact
thing.
Kalle
> something about about getLoginPage() being replaced by getLoginURL(), but
> I'm not completely clear on this change. I checked github and see your
> still using getLoginPage() in your login page, so I'm at a loss. Also, what
> do we need to do to get the redirectToSavedRequest working now? Thanks
> Kalle
>
> String requestUri = loginContextService.getSuccessPage();
>
> if (!requestUri.startsWith("/")) {
> requestUri = "/" + requestUri;
> }
>
> loginContextService.redirectToSavedRequest(requestUri);
>
> return null;
>
> On Fri, Oct 24, 2014 at 9:28 PM, Chris Mylonas <[email protected]> wrote:
>
> > Toot toot!
> >
>
>
>
> --
> George Christman
> www.CarDaddy.com
> P.O. Box 735
> Johnstown, New York
>