Package org.apache.qpid.server.model
Interface PasswordCredentialManagingAuthenticationProvider<X extends PasswordCredentialManagingAuthenticationProvider<X>>
-
- All Superinterfaces:
AuthenticationProvider<X>
,ConfiguredObject<X>
,ContextProvider
,EventLoggerProvider
,ManagedInterface
,PermissionedObject
,TaskExecutorProvider
,UsernamePasswordAuthenticationProvider<X>
- All Known Subinterfaces:
ExternalFileBasedAuthenticationManager<X>
- All Known Implementing Classes:
AbstractScramAuthenticationManager
,Base64MD5PasswordDatabaseAuthenticationManager
,ConfigModelPasswordManagingAuthenticationProvider
,MD5AuthenticationProvider
,PlainAuthenticationProvider
,PlainPasswordDatabaseAuthenticationManager
,PrincipalDatabaseAuthenticationManager
,ScramSHA1AuthenticationManager
,ScramSHA256AuthenticationManager
,SimpleAuthenticationManager
public interface PasswordCredentialManagingAuthenticationProvider<X extends PasswordCredentialManagingAuthenticationProvider<X>> extends AuthenticationProvider<X>, UsernamePasswordAuthenticationProvider<X>, ManagedInterface
-
-
Field Summary
-
Fields inherited from interface org.apache.qpid.server.model.ConfiguredObject
AWAIT_ATTAINMENT_TIMEOUT, CONTEXT, CREATED_BY, CREATED_TIME, DEFAULT_AWAIT_ATTAINMENT_TIMEOUT, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, STATE, TYPE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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)
-
Methods inherited from interface org.apache.qpid.server.model.AuthenticationProvider
createSaslNegotiator, getAvailableMechanisms, getDisabledMechanisms, getMechanisms, getSecureOnlyMechanisms
-
Methods inherited from interface org.apache.qpid.server.model.ConfiguredObject
addChangeListener, asObjectRecord, authorise, authorise, authorise, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getStatistics, getType, getTypeClass, getUserPreferences, hasEncrypter, isDurable, managesChildStorage, newToken, open, openAsync, removeChangeListener, removeContextVariable, setAttributes, setAttributesAsync, setContextVariable, setUserPreferences
-
Methods inherited from interface org.apache.qpid.server.model.ContextProvider
getContextKeys, getContextValue, getContextValue
-
Methods inherited from interface org.apache.qpid.server.logging.EventLoggerProvider
getEventLogger
-
Methods inherited from interface org.apache.qpid.server.model.TaskExecutorProvider
getTaskExecutor
-
Methods inherited from interface org.apache.qpid.server.security.auth.manager.UsernamePasswordAuthenticationProvider
authenticate
-
-
-
-
Method Detail
-
deleteUser
void deleteUser(String user) throws AccountNotFoundException
- Throws:
AccountNotFoundException
-
setPassword
void setPassword(String username, String password) throws AccountNotFoundException
- Throws:
AccountNotFoundException
-
reload
void reload() throws IOException
Refreshes the cache of user and password data from the underlying storage. If there is a failure whilst reloading the data, the implementation must throw anIOException
and revert to using the previous cached username and password data. In this way, the broker will remain usable.- Throws:
IOException
-
-