Accessing a page over HTTPS results in infinite 302 redirects

2019-06-13 Thread Kim Syväluoma
We have a Tapestry application which we need to use over HTTPS only. We 
are using Weblogic only.


We have these set in the AppModule of the Tapestry application:

public static void contributeApplicationDefaults(
final MappedConfiguration configuration) {
configuration.add("tapestry.supported-locales", "en");
configuration.add("tapestry.start-page-name", "start");
configuration.add(SymbolConstants.HOSTPORT_SECURE, "443");
configuration.add(SymbolConstants.SECURE_ENABLED, "true");
}

public static void contributeMetaDataLocator(final 
MappedConfiguration configuration) {

configuration.add(MetaDataConstants.SECURE_PAGE, "true");
}

In the Start page we have a redirect like this:

final Object onActivate() {
if (!this.sessionHandler.isLoggedIn()) {
return this.loginPage;
}
return this.mainFrameSet;
}

We we try to access our app by HTTPS at root or directly at the start 
page, loginPage or mainFrameSet page we get infinite redirect loop (302) 
to the same page we are accessing.


If we set the MetaDataConstants.SECURE_PAGE to false we can access our 
app over HTTPS but all page requests/links within the app is then done 
over HTTP and that does not work.
We need to have all functionality within the app to work over, and using 
only, HTTPS.


What have we missed?

Br,
Kim

--
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤
Name:   |   Kim Syväluoma|
Email:  |   kim@aland.net|
Tel (GSM):  |   +358 (0)40 592 5267  |
Tel Work:   |   +358 (0)20 7910 666  |
=

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Tapestry 5.5 progress

2019-06-13 Thread David Taylor

Hello,

Does anyone know where we stand on the Tapestry 5.5 release? Are there 
specific blocking issues that need to be addressed? I recall seeing one 
related to Java 11 and ASM, but it is not clear if that is being worked 
on at the moment.


We are working on upgrading our applications to Java 11 and may be able 
to help with troubleshooting of open issues.


Regards,
David


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org