org.loom.annotation
Annotation Type SSLPolicy
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
@Documented
@Inherited
public @interface SSLPolicy
Specify the SSL policy to follow for a concrete event.
If specified on an Action class this policy will apply to all events
unless otherwise specified.
When an incoming GET request is intercepted, if the security requirements are not
fulfilled it will be redirected (80 to 443 if SSL is required, for example).
If the incoming request is not a GET request and the SSL requirements are not fulfilled,
an exception will be thrown.
If there is a PortMapper
instance configured in spring it
will be used, otherwise the
value
public abstract SSLPolicyType value
- The policy value