public abstract class AbstractAuthenticationManager<T extends AbstractAuthenticationManager<T>> extends AbstractConfiguredObject<T> implements AuthenticationProvider<T>
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameExceptionSECURED_STRING_VALUECONTEXT, 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| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAuthenticationManager(Map<String,Object> attributes,
Broker<?> broker) |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.util.concurrent.ListenableFuture<Void> |
activate() |
<C extends ConfiguredObject> |
addChildAsync(Class<C> childClass,
Map<String,Object> attributes,
ConfiguredObject... otherParents) |
protected com.google.common.util.concurrent.ListenableFuture<Void> |
doDelete() |
protected Broker |
getBroker() |
List<String> |
getDisabledMechanisms() |
PreferencesProvider<?> |
getPreferencesProvider()
Returns the preferences provider associated with this authentication provider
|
List<String> |
getSecureOnlyMechanisms() |
SubjectCreator |
getSubjectCreator(boolean secure)
A temporary method to create SubjectCreator.
|
Collection<VirtualHostAlias> |
getVirtualHostPortBindings() |
protected void |
onOpen() |
void |
onValidate()
Validation performed for configured object creation and opening.
|
void |
recoverUser(User user) |
void |
setPreferencesProvider(PreferencesProvider<?> preferencesProvider)
Sets the preferences provider
|
protected com.google.common.util.concurrent.ListenableFuture<Void> |
startQuiesced() |
addChangeListener, 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, onResolve, open, openAsync, parentsMap, postResolve, postResolveChildren, registerWithParents, removeChangeListener, rethrowRuntimeExceptionsOnOpen, runTask, setAttribute, setAttributes, setAttributesAsync, setEncrypter, setState, start, startAsync, stop, toString, validateChange, validateOnCreateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitauthenticate, createSaslServer, getMechanismsaddChangeListener, 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, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getTaskExecutor, getType, getTypeClass, isDurable, managesChildStorage, open, openAsync, removeChangeListener, setAttribute, setAttributes, setAttributesAsyncpublic void onValidate()
AbstractConfiguredObjectonValidate in class AbstractConfiguredObject<T extends AbstractAuthenticationManager<T>>protected final Broker getBroker()
protected void onOpen()
onOpen in class AbstractConfiguredObject<T extends AbstractAuthenticationManager<T>>public Collection<VirtualHostAlias> getVirtualHostPortBindings()
getVirtualHostPortBindings in interface AuthenticationProvider<T extends AbstractAuthenticationManager<T>>public SubjectCreator getSubjectCreator(boolean secure)
AuthenticationProvidergetSubjectCreator in interface AuthenticationProvider<T extends AbstractAuthenticationManager<T>>public PreferencesProvider<?> getPreferencesProvider()
AuthenticationProvidergetPreferencesProvider in interface AuthenticationProvider<T extends AbstractAuthenticationManager<T>>public void setPreferencesProvider(PreferencesProvider<?> preferencesProvider)
AuthenticationProvidersetPreferencesProvider in interface AuthenticationProvider<T extends AbstractAuthenticationManager<T>>public void recoverUser(User user)
recoverUser in interface AuthenticationProvider<T extends AbstractAuthenticationManager<T>>public <C extends ConfiguredObject> com.google.common.util.concurrent.ListenableFuture<C> addChildAsync(Class<C> childClass, Map<String,Object> attributes, ConfiguredObject... otherParents)
addChildAsync in class AbstractConfiguredObject<T extends AbstractAuthenticationManager<T>>protected com.google.common.util.concurrent.ListenableFuture<Void> startQuiesced()
protected com.google.common.util.concurrent.ListenableFuture<Void> activate()
protected com.google.common.util.concurrent.ListenableFuture<Void> doDelete()
public final List<String> getSecureOnlyMechanisms()
getSecureOnlyMechanisms in interface AuthenticationProvider<T extends AbstractAuthenticationManager<T>>public final List<String> getDisabledMechanisms()
getDisabledMechanisms in interface AuthenticationProvider<T extends AbstractAuthenticationManager<T>>Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.