public class HttpSecurityManagedObjectSource extends AbstractManagedObjectSource<HttpSecurityManagedObjectSource.Dependencies,None>
ManagedObjectSource
for the HttpSecuritySource
(or its
equivalent application specific interface).Modifier and Type | Class and Description |
---|---|
static class |
HttpSecurityManagedObjectSource.Dependencies
Dependency keys.
|
static class |
HttpSecurityManagedObjectSource.HttpSecurityManagedObject<S,C>
ManagedObject for the HTTP security. |
AbstractAsyncManagedObjectSource.DependencyLabeller, AbstractAsyncManagedObjectSource.Labeller, AbstractAsyncManagedObjectSource.MetaDataContext<D extends Enum<D>,F extends Enum<F>>, AbstractAsyncManagedObjectSource.SpecificationContext
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_HTTP_SECURITY_TYPE
Name of
Property for the HTTP security type. |
static String |
PROPERTY_IS_ESCALATE_AUTHENTICATION_REQUIRED
Name of
Property indicating whether to escalate
HttpAuthenticationRequiredException if not authenticated. |
Constructor and Description |
---|
HttpSecurityManagedObjectSource() |
Modifier and Type | Method and Description |
---|---|
protected ManagedObject |
getManagedObject()
Synchronously obtains the
ManagedObject . |
protected void |
loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<HttpSecurityManagedObjectSource.Dependencies,None> context)
Overridden to load meta-data.
|
protected void |
loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
Overridden to load specifications.
|
sourceManagedObject
getMetaData, getSpecification, init, start, stop
public static final String PROPERTY_HTTP_SECURITY_TYPE
Property
for the HTTP security type.public static final String PROPERTY_IS_ESCALATE_AUTHENTICATION_REQUIRED
Name of Property
indicating whether to escalate
HttpAuthenticationRequiredException
if not authenticated.
By default, it will escalate. Specifying false
for this
property will allow a null
HTTP Security to be provided.
protected void loadSpecification(AbstractAsyncManagedObjectSource.SpecificationContext context)
AbstractAsyncManagedObjectSource
loadSpecification
in class AbstractAsyncManagedObjectSource<HttpSecurityManagedObjectSource.Dependencies,None>
context
- Specifications.protected void loadMetaData(AbstractAsyncManagedObjectSource.MetaDataContext<HttpSecurityManagedObjectSource.Dependencies,None> context) throws Exception
AbstractAsyncManagedObjectSource
loadMetaData
in class AbstractAsyncManagedObjectSource<HttpSecurityManagedObjectSource.Dependencies,None>
context
- Meta-data.Exception
- If fails to load the meta-data.protected ManagedObject getManagedObject() throws Throwable
AbstractManagedObjectSource
ManagedObject
.getManagedObject
in class AbstractManagedObjectSource<HttpSecurityManagedObjectSource.Dependencies,None>
ManagedObject
.Throwable
- If fails to obtain the ManagedObject
.Copyright © 2005–2016. All rights reserved.