THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
A wrapper around another mapper which will encrypt/decrypt the URLs generated by the inner one.
Usage:
MyApp.java:
Code Block |
---|
public void init() {
super.init();
IRequestMapper cryptoMapper = new CryptoMapper(getRootRequestMapper(), this));
setRootRequestMapper(cryptoMapper);
}
|
HttpsMapper
A mapper which makes a redirect to the same URL with HTTPS protocol if the requested page is annotated with @RequireHttps or to HTTP protocol if the last processed page had @RequireHttps and the one going to be processed has no such annotation.
...