public interface PasswordCredentialManagingAuthenticationProvider<X extends PasswordCredentialManagingAuthenticationProvider<X>> extends AuthenticationProvider<X>, UsernamePasswordAuthenticationProvider<X>, ManagedInterface
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
Modifier and Type | Method and Description |
---|---|
boolean |
createUser(String username,
String password,
Map<String,String> attributes) |
void |
deleteUser(String user) |
Map<String,Map<String,String>> |
getUsers() |
void |
reload()
Refreshes the cache of user and password data from the underlying storage.
|
void |
setPassword(String username,
String password) |
authenticate
authenticate, createSaslServer, getDisabledMechanisms, getMechanisms, getPreferencesProvider, getSecureOnlyMechanisms, getSubjectCreator, getVirtualHostPortBindings, recoverUser, setPreferencesProvider
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, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getTaskExecutor, getType, getTypeClass, isDurable, managesChildStorage, open, openAsync, removeChangeListener, setAttribute, setAttributes, setAttributesAsync
void deleteUser(String user) throws AccountNotFoundException
AccountNotFoundException
void setPassword(String username, String password) throws AccountNotFoundException
AccountNotFoundException
void reload() throws IOException
IOException
and revert to using the previous cached username
and password data. In this way, the broker will remain usable.IOException
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.