public class HttpSecurityWorkSource extends AbstractWorkSource<HttpSecurityWork>
WorkSource
for HttpSecurity
.AbstractWorkSource.SpecificationContext
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_HTTP_SECURITY_SOURCE_KEY
|
static String |
TASK_CHALLENGE
Name of the
HttpChallengeTask . |
static String |
TASK_COMPLETE_APPLICATION_AUTHENTICATE
Name of the
CompleteApplicationHttpAuthenticateTask . |
static String |
TASK_MANAGED_OBJECT_AUTHENTICATE
Name of the
ManagedObjectHttpAuthenticateTask . |
static String |
TASK_MANAGED_OBJECT_LOGOUT
Name of the
ManagedObjectHttpLogoutTask . |
static String |
TASK_START_APPLICATION_AUTHENTICATE
Name of the
StartApplicationHttpAuthenticateTask . |
Constructor and Description |
---|
HttpSecurityWorkSource() |
Modifier and Type | Method and Description |
---|---|
static Class<?> |
getCredentialsClass(HttpSecurityType<?,?,?,?> type)
Obtains the credentials class for the
HttpSecurityType . |
protected void |
loadSpecification(AbstractWorkSource.SpecificationContext context)
Loads the
WorkSourceSpecification . |
void |
sourceWork(WorkTypeBuilder<HttpSecurityWork> workTypeBuilder,
WorkSourceContext context)
Sources the
WorkType by populating it via the input
WorkTypeBuilder . |
getSpecification
public static final String PROPERTY_HTTP_SECURITY_SOURCE_KEY
public static final String TASK_CHALLENGE
HttpChallengeTask
.public static final String TASK_MANAGED_OBJECT_AUTHENTICATE
ManagedObjectHttpAuthenticateTask
.public static final String TASK_MANAGED_OBJECT_LOGOUT
ManagedObjectHttpLogoutTask
.public static final String TASK_START_APPLICATION_AUTHENTICATE
StartApplicationHttpAuthenticateTask
.public static final String TASK_COMPLETE_APPLICATION_AUTHENTICATE
CompleteApplicationHttpAuthenticateTask
.public static Class<?> getCredentialsClass(HttpSecurityType<?,?,?,?> type)
HttpSecurityType
.type
- HttpSecurityType
.protected void loadSpecification(AbstractWorkSource.SpecificationContext context)
AbstractWorkSource
WorkSourceSpecification
.loadSpecification
in class AbstractWorkSource<HttpSecurityWork>
context
- AbstractWorkSource.SpecificationContext
.public void sourceWork(WorkTypeBuilder<HttpSecurityWork> workTypeBuilder, WorkSourceContext context) throws Exception
WorkSource
WorkType
by populating it via the input
WorkTypeBuilder
.workTypeBuilder
- WorkTypeBuilder
to be populated with the
type definition
of the Work
.context
- WorkSourceContext
to source details to populate the
WorkTypeBuilder
.Exception
- If fails to populate the WorkTypeBuilder
.Copyright © 2005–2016. All rights reserved.