Class JndiLdapManagedObjectSource
- java.lang.Object
-
- net.officefloor.frame.api.managedobject.source.impl.AbstractAsyncManagedObjectSource<O,F>
-
- net.officefloor.frame.api.managedobject.source.impl.AbstractManagedObjectSource<JndiLdapManagedObjectSource.DependencyKeys,None>
-
- net.officefloor.web.security.store.JndiLdapManagedObjectSource
-
- All Implemented Interfaces:
ManagedObjectSource<JndiLdapManagedObjectSource.DependencyKeys,None>
public class JndiLdapManagedObjectSource extends AbstractManagedObjectSource<JndiLdapManagedObjectSource.DependencyKeys,None>
- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJndiLdapManagedObjectSource.DependencyKeysKeys for dependencies.-
Nested classes/interfaces inherited from class net.officefloor.frame.api.managedobject.source.impl.AbstractAsyncManagedObjectSource
AbstractAsyncManagedObjectSource.DependencyLabeller<K extends java.lang.Enum<K>>, AbstractAsyncManagedObjectSource.ExecutionLabeller, AbstractAsyncManagedObjectSource.Labeller<K extends java.lang.Enum<K>>, AbstractAsyncManagedObjectSource.MetaDataContext<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>, AbstractAsyncManagedObjectSource.SpecificationContext
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTY_ALGORITHMName of property for the algorithm.static java.lang.StringPROPERTY_ENTRY_SEARCH_BASE_DNName of property for the search base Dn for entries.static java.lang.StringPROPERTY_ROLES_SEARCH_BASE_DNName of property for the search base Dn for roles.
-
Constructor Summary
Constructors Constructor Description JndiLdapManagedObjectSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ManagedObjectgetManagedObject()Synchronously obtains theManagedObject.protected voidloadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<JndiLdapManagedObjectSource.DependencyKeys,None> context)Overridden to load meta-data.protected voidloadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)Overridden to load specifications.-
Methods inherited from class net.officefloor.frame.api.managedobject.source.impl.AbstractManagedObjectSource
sourceManagedObject
-
Methods inherited from class net.officefloor.frame.api.managedobject.source.impl.AbstractAsyncManagedObjectSource
getSpecification, init, start, stop
-
-
-
-
Field Detail
-
PROPERTY_ALGORITHM
public static final java.lang.String PROPERTY_ALGORITHM
Name of property for the algorithm.- See Also:
- Constant Field Values
-
PROPERTY_ENTRY_SEARCH_BASE_DN
public static final java.lang.String PROPERTY_ENTRY_SEARCH_BASE_DN
Name of property for the search base Dn for entries.- See Also:
- Constant Field Values
-
PROPERTY_ROLES_SEARCH_BASE_DN
public static final java.lang.String PROPERTY_ROLES_SEARCH_BASE_DN
Name of property for the search base Dn for roles.- See Also:
- Constant Field Values
-
-
Method Detail
-
loadSpecification
protected void loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
Description copied from class:AbstractAsyncManagedObjectSourceOverridden to load specifications.- Specified by:
loadSpecificationin classAbstractAsyncManagedObjectSource<JndiLdapManagedObjectSource.DependencyKeys,None>- Parameters:
context- Specifications.
-
loadMetaData
protected void loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<JndiLdapManagedObjectSource.DependencyKeys,None> context) throws java.lang.Exception
Description copied from class:AbstractAsyncManagedObjectSourceOverridden to load meta-data.- Specified by:
loadMetaDatain classAbstractAsyncManagedObjectSource<JndiLdapManagedObjectSource.DependencyKeys,None>- Parameters:
context- Meta-data.- Throws:
java.lang.Exception- If fails to load the meta-data.
-
getManagedObject
protected ManagedObject getManagedObject() throws java.lang.Throwable
Description copied from class:AbstractManagedObjectSourceSynchronously obtains theManagedObject.- Specified by:
getManagedObjectin classAbstractManagedObjectSource<JndiLdapManagedObjectSource.DependencyKeys,None>- Returns:
ManagedObject.- Throws:
java.lang.Throwable- If fails to obtain theManagedObject.
-
-