@Beta public class AdvertiseWinrmLoginPolicy extends AbstractPolicy implements SensorEventListener<Location>
WinRmMachineLocation is added to that entity
(e.g. when a VM has been provisioned for it).
The policy will then add a sensor that advertises the Administrator login details.
A preferred mechanism would be for an external key-management tool to provide access to the credentials.AbstractEntityAdjunct.AdjunctTagSupportBrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternal| Modifier and Type | Field and Description |
|---|---|
static AttributeSensor<java.lang.String> |
VM_USER_CREDENTIALS |
NOOP| Constructor and Description |
|---|
AdvertiseWinrmLoginPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(SensorEvent<Location> event)
The
SensorEvent handler method. |
void |
setEntity(EntityLocal entity) |
destroy, getPolicyType, getRebindSupport, isRunning, isSuspended, resume, suspend, toStringconfig, configure, getConfig, getConfigMap, getDisplayName, getUniqueTag, isDestroyed, setConfig, setDisplayName, subscribe, subscribeToChildren, subscribeToMembers, tags, unsubscribe, unsubscribegetCatalogItemId, getId, getManagementContext, init, rebind, setCatalogItemId, setManagementContextequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUniqueTag, isDestroyedgetCatalogItemId, getDisplayName, tagsconfigsetCatalogItemIdpublic static final AttributeSensor<java.lang.String> VM_USER_CREDENTIALS
public void setEntity(EntityLocal entity)
setEntity in class AbstractEntityAdjunctpublic void onEvent(SensorEvent<Location> event)
SensorEventListenerSensorEvent handler method.onEvent in interface SensorEventListener<Location>