org.apache.sling.hc.support.impl
Class DefaultLoginsHealthCheck
java.lang.Object
org.apache.sling.hc.support.impl.DefaultLoginsHealthCheck
- All Implemented Interfaces:
- org.apache.sling.hc.api.HealthCheck
@Properties(value={@Property(name="hc.name"),@Property(name="hc.tags",unbounded=ARRAY),@Property(name="hc.mbean.name")})
@Service(value=org.apache.sling.hc.api.HealthCheck.class)
public class DefaultLoginsHealthCheck- extends Object
- implements org.apache.sling.hc.api.HealthCheck
HealthCheck that checks that Sling default logins fail.
Used to verify that those logins are disabled on production systems
| Fields inherited from interface org.apache.sling.hc.api.HealthCheck |
MBEAN_NAME, NAME, TAGS |
|
Method Summary |
void |
activate(org.osgi.service.component.ComponentContext ctx)
|
org.apache.sling.hc.api.Result |
execute()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLoginsHealthCheck
public DefaultLoginsHealthCheck()
activate
@Activate
public void activate(org.osgi.service.component.ComponentContext ctx)
execute
public org.apache.sling.hc.api.Result execute()
- Specified by:
execute in interface org.apache.sling.hc.api.HealthCheck
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.