Ryan,
You may want to vote for:
https://issues.apache.org/jira/browse/TAP5-167
Jonathan
On Fri, May 22, 2009 at 11:32 PM, kartweel wrote:
>
> Hi,
>
> I basically want to switch off tapestry's auto switching between secure and
> non-secure and keep it in the same "mode" as the current request
Cheers,
I changed this to return null instead too.
public String getBaseURL(String pageName) {
return baseURLSource.getBaseURL(request.isSecure());
}
Ryan
Inge Solvoll-2 wrote:
>
> This should do the trick :)
>
> You can probably do the same thing more intuitively by advising the
>
Haven't tested this one, but it looks simple and ok to me.
public static void adviseRequestSecurityManager(MethodAdviceReceiver
receiver, final Request request, final BaseURLSource baseURLSource, Logger
log) {
try {
Method checkForInsecureRequest =
receiver.getInterface().getMethod("ch
This should do the trick :)
You can probably do the same thing more intuitively by advising the
RequestSecurityManager. I just didn't bother to change my working
implementation.
public static void contributeAlias(Configuration
configuration, @InjectService("Request") Request request,
@InjectServi
Hi,
I basically want to switch off tapestry's auto switching between secure and
non-secure and keep it in the same "mode" as the current request instead of
generating full URLs and changing it to http. I need internal access via
http or https and external access firewalled to allow https only.
I