Class AuthRepositoryMDPoolBean
- All Implemented Interfaces:
AuthRepository, Repository, RegistrarBean, RegistrarBeanWithDefaultBeanClass, ComponentStatisticsProvider, StatisticsProviderIfc
@Bean(name="authRepository",
parent=Kernel.class,
exportable=true,
active=true)
@ConfigType({DefaultMode,SessionManagerMode,ConnectionManagersMode,ComponentMode})
public class AuthRepositoryMDPoolBean
extends AuthRepositoryMDImpl
Class implements bean for multi domain pool for authentication repositories.
Created by andrzej on 08.03.2016.
Created by andrzej on 08.03.2016.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface AuthRepository
AuthRepository.AccountStatus, AuthRepository.DefaultCredentials, AuthRepository.PasswordChangedEvent, AuthRepository.SingleCredentialNested classes/interfaces inherited from interface Repository
Repository.Meta, Repository.SchemaId -
Field Summary
Fields inherited from class MDPoolBean
POOL_CLASS, POOL_SIZE, REPO_CLASS, REPO_URIFields inherited from interface AuthRepository
DATA_KEY, DIGEST_ID_KEY, DIGEST_KEY, MACHANISM_KEY, PASSWORD_KEY, PROTOCOL_KEY, PROTOCOL_VAL_NONSASL, PROTOCOL_VAL_SASL, REALM_KEY, RESULT_KEY, SERVER_NAME_KEY, USER_ID_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbelongsTo(Class<? extends BasicComponent> component) Returns per domain configuration classClass<?> Returns default class for all bean which are defined using configuration as subbeans of bean implementing this interface.voidgetStatistics(String compName, StatisticsList list) Methods inherited from class AuthRepositoryMDImpl
addUser, getAccountStatus, getActiveUsersCountIn, getCredentialIds, getCredentials, getPassword, getResourceUri, getUsersCount, getUsersCount, initRepository, isMechanismSupported, isUserDisabled, loggedIn, logout, otherAuth, queryAuth, removeCredential, removeUser, setAccountStatus, setUserDisabled, updateCredential, updateCredential, updatePasswordMethods inherited from class MDPoolBeanWithStatistics
addRepo, everyHour, everyMinute, everySecond, getDefaultRepository, getDomainsList, getRepo, removeRepo, repositoriesStream, setDefault, setStatisticsEnabled, wrapInProxyMethods inherited from class MDPoolBean
getDefaultAlias, getName, register, registerConfigBean, unregisterMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AuthRepository
getUsernames, setCredentialsCodecs
-
Constructor Details
-
AuthRepositoryMDPoolBean
public AuthRepositoryMDPoolBean()
-
-
Method Details
-
belongsTo
-
getStatistics
- Specified by:
getStatisticsin interfaceStatisticsProviderIfc- Overrides:
getStatisticsin classMDPoolBeanWithStatistics<AuthRepository, AuthRepositoryMDPoolBean.AuthRepositoryConfigBean>
-
getConfigClass
Description copied from class:MDPoolBeanReturns per domain configuration class- Specified by:
getConfigClassin classMDPoolBean<AuthRepository, AuthRepositoryMDPoolBean.AuthRepositoryConfigBean>- Returns:
- class
-
getDefaultBeanClass
Description copied from interface:RegistrarBeanWithDefaultBeanClassReturns default class for all bean which are defined using configuration as subbeans of bean implementing this interface. This allows users to have more convenient configuration file without the need to specify class for each of subbbeans if most of them will have the same class.
-