|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.compile.spi.work.source.impl.AbstractWorkSource<HttpSecurityWork>
net.officefloor.plugin.web.http.security.HttpSecurityWorkSource
public class HttpSecurityWorkSource
WorkSource for HttpSecurity.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.officefloor.compile.spi.work.source.impl.AbstractWorkSource |
|---|
AbstractWorkSource.SpecificationContext |
| Field Summary | |
|---|---|
static String |
PROPERTY_HTTP_SECURITY_SOURCE_KEY
Name of Property providing the key to the
HttpSecuritySource from the HttpSecurityConfigurator. |
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 Summary | |
|---|---|
HttpSecurityWorkSource()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class net.officefloor.compile.spi.work.source.impl.AbstractWorkSource |
|---|
getSpecification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROPERTY_HTTP_SECURITY_SOURCE_KEY
Property providing the key to the
HttpSecuritySource from the HttpSecurityConfigurator.
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.
| Constructor Detail |
|---|
public HttpSecurityWorkSource()
| Method Detail |
|---|
public static Class<?> getCredentialsClass(HttpSecurityType<?,?,?,?> type)
HttpSecurityType.
type - HttpSecurityType.
protected void loadSpecification(AbstractWorkSource.SpecificationContext context)
AbstractWorkSourceWorkSourceSpecification.
loadSpecification in class AbstractWorkSource<HttpSecurityWork>context - AbstractWorkSource.SpecificationContext.
public void sourceWork(WorkTypeBuilder<HttpSecurityWork> workTypeBuilder,
WorkSourceContext context)
throws Exception
WorkSourceWorkType 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||