Java Mailing List Archive

http://www.gg3721.com/

Home » users.tapestry »

Re: [t5.0.18] Secure Annotation / BaseURLSource

Martin Strand

2009-05-18

Replies: Find Java Web Hosting

Author LoginPost Reply
Just a guess... perhaps baseSecureURL is not an https url?


On Mon, 18 May 2009 15:15:50 +0200, Dave Greggory <davegreggory@(protected):

>
> I've been using BaseURLSource(since behind a firewall/load balancer) fine all this time, and recently I needed a secure page, so I added the @Secure annotation on that page. But that page is no longer working because @Secure annotation ends up sending continuous redirects. What am I doing wrong?
>
> My BaseURLSource implementation:
>
> BaseURLSource source = new BaseURLSource()
> {
>  public String getBaseURL(boolean secure)
>  {
>    return (secure) ? baseURL : baseSecureURL;
>  }
> }
>
> Thanks,
> Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.