![JAR search and dependency download from the Maven repository](/logo.png)
org.loom.appengine.AppEngineSSLPolicyAnnotationProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of loom-appengine Show documentation
Show all versions of loom-appengine Show documentation
Uploads all artifacts belonging to configuration ':archives'.
The newest version!
package org.loom.appengine;
import org.loom.annotation.SSLPolicy;
import org.loom.annotation.processor.SSLPolicyAnnotationProcessor;
import org.loom.appengine.utils.AppEngineUtils;
import org.loom.mapping.Event;
/**
* Processes {@link SSLPolicy} annotations in the GAE environment.
* SSL support in GAE is subject to requirements specified here:
* http://code.google.com/appengine/docs/java/config/webxml.html#Secure_URLs
*
* This annotation processor will ignore annotations if used inside the
* local development environment (as expected). For full, correct behavior,
* a MultihostSSLPolicyInterceptor should be injected, though it will only
* work when in production.
* @author icoloma
*
*/
public class AppEngineSSLPolicyAnnotationProcessor extends SSLPolicyAnnotationProcessor {
@Override
public void process(Event event) {
if (!AppEngineUtils.isDevelopmentEnvironment()) {
super.process(event);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy