public class FileBasedGroupProviderImpl extends AbstractConfiguredObject<FileBasedGroupProviderImpl> implements FileBasedGroupProvider<FileBasedGroupProviderImpl>
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameException| Modifier and Type | Field and Description |
|---|---|
static String |
GROUP_FILE_PROVIDER_TYPE |
SECURED_STRING_VALUEPATHCONTEXT, 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 |
|---|
FileBasedGroupProviderImpl(Map<String,Object> attributes,
Broker broker) |
| Modifier and Type | Method and Description |
|---|---|
<C extends ConfiguredObject> |
addChildAsync(Class<C> childClass,
Map<String,Object> attributes,
ConfiguredObject... otherParents) |
Set<Principal> |
getGroupPrincipalsForUser(Principal userPrincipal) |
String |
getPath() |
protected SecurityManager |
getSecurityManager() |
protected void |
onCreate() |
protected void |
onOpen() |
void |
onValidate()
Validation performed for configured object creation and opening.
|
protected void |
validateChange(ConfiguredObject<?> proxyForValidation,
Set<String> changedAttributes) |
protected void |
validateOnCreate() |
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, getState, getStatistics, getTaskExecutor, getType, getTypeClass, handleExceptionOnOpen, isDurable, managesChildStorage, notifyStateChanged, onClose, onExceptionInOpen, onResolve, open, openAsync, parentsMap, postResolve, postResolveChildren, registerWithParents, removeChangeListener, rethrowRuntimeExceptionsOnOpen, runTask, setAttribute, setAttributes, setAttributesAsync, setEncrypter, setState, start, startAsync, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChangeListener, 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 static final String GROUP_FILE_PROVIDER_TYPE
public void onValidate()
AbstractConfiguredObjectonValidate in class AbstractConfiguredObject<FileBasedGroupProviderImpl>protected void validateChange(ConfiguredObject<?> proxyForValidation, Set<String> changedAttributes)
validateChange in class AbstractConfiguredObject<FileBasedGroupProviderImpl>protected void onOpen()
onOpen in class AbstractConfiguredObject<FileBasedGroupProviderImpl>protected void onCreate()
onCreate in class AbstractConfiguredObject<FileBasedGroupProviderImpl>protected void validateOnCreate()
validateOnCreate in class AbstractConfiguredObject<FileBasedGroupProviderImpl>public String getPath()
getPath in interface FileBasedGroupProvider<FileBasedGroupProviderImpl>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<FileBasedGroupProviderImpl>protected SecurityManager getSecurityManager()
getSecurityManager in class AbstractConfiguredObject<FileBasedGroupProviderImpl>public Set<Principal> getGroupPrincipalsForUser(Principal userPrincipal)
getGroupPrincipalsForUser in interface GroupProvider<FileBasedGroupProviderImpl>Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.