public class FileKeyStoreImpl extends AbstractConfiguredObject<FileKeyStoreImpl> implements FileKeyStore<FileKeyStoreImpl>
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameException
SECURED_STRING_VALUE
CERTIFICATE_ALIAS, DEFAULT_KEY_MANAGER_FACTORY_ALGORITHM, DEFAULT_KEYSTORE_TYPE, KEY_MANAGER_FACTORY_ALGORITHM, KEY_STORE_TYPE, PASSWORD, STORE_URL
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 |
---|
FileKeyStoreImpl(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() |
String |
getCertificateAlias() |
String |
getKeyManagerFactoryAlgorithm() |
KeyManager[] |
getKeyManagers() |
String |
getKeyStoreType() |
String |
getPassword() |
String |
getPath() |
String |
getStoreUrl() |
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<FileKeyStoreImpl>
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<FileKeyStoreImpl>
public String getStoreUrl()
getStoreUrl
in interface FileKeyStore<FileKeyStoreImpl>
public String getPath()
getPath
in interface FileKeyStore<FileKeyStoreImpl>
public String getCertificateAlias()
getCertificateAlias
in interface FileKeyStore<FileKeyStoreImpl>
public String getKeyManagerFactoryAlgorithm()
getKeyManagerFactoryAlgorithm
in interface FileKeyStore<FileKeyStoreImpl>
public String getKeyStoreType()
getKeyStoreType
in interface FileKeyStore<FileKeyStoreImpl>
public String getPassword()
getPassword
in interface FileKeyStore<FileKeyStoreImpl>
public void setPassword(String password)
public KeyManager[] getKeyManagers() throws GeneralSecurityException
getKeyManagers
in interface KeyStore<FileKeyStoreImpl>
GeneralSecurityException
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.