public class FileTrustStoreImpl extends AbstractConfiguredObject<FileTrustStoreImpl> implements FileTrustStore<FileTrustStoreImpl>
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameException
SECURED_STRING_VALUE
DEFAULT_TRUST_MANAGER_FACTORY_ALGORITHM, DEFAULT_TRUSTSTORE_TYPE, PASSWORD, PEERS_ONLY, STORE_URL, TRUST_MANAGER_FACTORY_ALGORITHM, TRUST_STORE_TYPE
CONTEXT, CREATED_BY, CREATED_TIME, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, STATE, TYPE
Constructor and Description |
---|
FileTrustStoreImpl(Map<String,Object> attributes,
Broker<?> broker) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.util.concurrent.ListenableFuture<Void> |
doActivate() |
protected com.google.common.util.concurrent.ListenableFuture<Void> |
doDelete() |
Certificate[] |
getCertificates() |
List<VirtualHost> |
getExcludedVirtualHostMessageSources() |
List<VirtualHost> |
getIncludedVirtualHostMessageSources() |
String |
getPassword() |
String |
getPath() |
String |
getStoreUrl() |
String |
getTrustManagerFactoryAlgorithm() |
TrustManager[] |
getTrustManagers() |
String |
getTrustStoreType() |
boolean |
isExposedAsMessageSource() |
boolean |
isPeersOnly() |
void |
onValidate()
Validation performed for configured object creation and opening.
|
void |
setPassword(String password) |
protected void |
validateChange(ConfiguredObject<?> proxyForValidation,
Set<String> changedAttributes) |
addChangeListener, addChildAsync, applyToChildren, asObjectRecord, attainState, attributeSet, authoriseCreate, authoriseCreateChild, authoriseDelete, authoriseSetAttributes, beforeClose, changeAttribute, changeAttributes, childAdded, childRemoved, close, closeAsync, closeChildren, create, createAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, deleted, doAfter, doAfter, doAfter, doAfter, doAfter, doAfter, doAfterAlways, doAfterAlways, doCreation, doOnConfigThread, doOpening, doResolution, doSync, doSync, doValidation, findConfiguredObject, forceUpdateAllSecureAttributes, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getSecurityManager, getState, getStatistics, getTaskExecutor, getType, getTypeClass, handleExceptionOnOpen, isDurable, managesChildStorage, notifyStateChanged, onClose, onCreate, onExceptionInOpen, onOpen, onResolve, open, openAsync, parentsMap, postResolve, postResolveChildren, registerWithParents, removeChangeListener, rethrowRuntimeExceptionsOnOpen, runTask, setAttribute, setAttributes, setAttributesAsync, setEncrypter, setState, start, startAsync, stop, toString, validateOnCreate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription
addChangeListener, asObjectRecord, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getTaskExecutor, getType, getTypeClass, isDurable, managesChildStorage, open, openAsync, removeChangeListener, setAttribute, setAttributes, setAttributesAsync
public void onValidate()
AbstractConfiguredObject
onValidate
in class AbstractConfiguredObject<FileTrustStoreImpl>
protected com.google.common.util.concurrent.ListenableFuture<Void> doDelete()
protected com.google.common.util.concurrent.ListenableFuture<Void> doActivate()
protected void validateChange(ConfiguredObject<?> proxyForValidation, Set<String> changedAttributes)
validateChange
in class AbstractConfiguredObject<FileTrustStoreImpl>
public String getStoreUrl()
getStoreUrl
in interface FileTrustStore<FileTrustStoreImpl>
public String getPath()
getPath
in interface FileTrustStore<FileTrustStoreImpl>
public String getTrustManagerFactoryAlgorithm()
getTrustManagerFactoryAlgorithm
in interface FileTrustStore<FileTrustStoreImpl>
public String getTrustStoreType()
getTrustStoreType
in interface FileTrustStore<FileTrustStoreImpl>
public boolean isPeersOnly()
isPeersOnly
in interface FileTrustStore<FileTrustStoreImpl>
public String getPassword()
getPassword
in interface FileTrustStore<FileTrustStoreImpl>
public void setPassword(String password)
setPassword
in interface FileTrustStore<FileTrustStoreImpl>
public TrustManager[] getTrustManagers() throws GeneralSecurityException
getTrustManagers
in interface TrustStore<FileTrustStoreImpl>
GeneralSecurityException
public Certificate[] getCertificates() throws GeneralSecurityException
getCertificates
in interface TrustStore<FileTrustStoreImpl>
GeneralSecurityException
public boolean isExposedAsMessageSource()
isExposedAsMessageSource
in interface TrustStore<FileTrustStoreImpl>
public List<VirtualHost> getIncludedVirtualHostMessageSources()
getIncludedVirtualHostMessageSources
in interface TrustStore<FileTrustStoreImpl>
public List<VirtualHost> getExcludedVirtualHostMessageSources()
getExcludedVirtualHostMessageSources
in interface TrustStore<FileTrustStoreImpl>
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.