Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Secure all pages except 1

$
0
0
I need to secure all my pages with the exception of just 1, is there a
simple approach to this?

I tried the following with failure. I'm trying to avoid individually
securing pages do to the fact I occasionally forget some. I need to have 1
page that runs on http that can be accessed by the load balancers health
check.

public void contributeMetaDataLocator(MappedConfiguration<String,String>
configuration)

configuration.add(MetaDataConstants.SECURE_PAGE, "true");
configuration.add("httpstatus" + MetaDataConstants.SECURE_PAGE, "false
");

Viewing all articles
Browse latest Browse all 5648

Trending Articles