Interface AbstractHttpSecuritySource.MetaDataContext<A,AC extends Serializable,C,O extends Enum<O>,F extends Enum<F>>
- Enclosing class:
- AbstractHttpSecuritySource<A,
AC extends Serializable, C, O extends Enum<O>, F extends Enum<F>>
public static interface AbstractHttpSecuritySource.MetaDataContext<A,AC extends Serializable,C,O extends Enum<O>,F extends Enum<F>>
Context for the
HttpSecuritySource.init(HttpSecuritySourceContext).-
Method Summary
Modifier and TypeMethodDescriptionaddDependency(Class<?> dependencyType) Adds a required dependency identified by an index into the order the dependency was added.addDependency(O key, Class<?> dependencyType) Adds a required dependency identified by the key.Adds a requiredFlowidentified by the key.Obtains theHttpSecuritySourceContext.voidsetAccessControlClass(Class<AC> accessControlClass) Specifies the type for access control.voidsetAuthenticationClass(Class<A> authenticationClass) Specifies the type for authentication.voidsetCredentialsClass(Class<C> credentialsClass) Specifies the type for credentials.voidsetHttpAccessControlFactory(HttpAccessControlFactory<AC> httpAccessControlFactory) Specifies theHttpAccessControlFactory.voidsetHttpAuthenticationFactory(HttpAuthenticationFactory<A, C> httpAuthenticationFactory) Specifies theHttpAuthenticationFactory.
-
Method Details
-
getHttpSecuritySourceContext
HttpSecuritySourceContext getHttpSecuritySourceContext()Obtains theHttpSecuritySourceContext.- Returns:
HttpSecuritySourceContext.
-
setAuthenticationClass
Specifies the type for authentication.- Parameters:
authenticationClass- Authentication type.
-
setHttpAuthenticationFactory
Specifies theHttpAuthenticationFactory.- Parameters:
httpAuthenticationFactory-HttpAuthenticationFactory.
-
setAccessControlClass
Specifies the type for access control.- Parameters:
accessControlClass- Access control type.
-
setHttpAccessControlFactory
Specifies theHttpAccessControlFactory.- Parameters:
httpAccessControlFactory-HttpAccessControlFactory.
-
setCredentialsClass
Specifies the type for credentials.- Parameters:
credentialsClass- Credentials type.
-
addDependency
Adds a required dependency identified by the key.- Parameters:
key-Enumto identify the dependency.dependencyType- Type the dependency is required to extend/implement.- Returns:
AbstractHttpSecuritySource.DependencyLabellerto possibly label the required dependency.
-
addDependency
Adds a required dependency identified by an index into the order the dependency was added.- Parameters:
dependencyType- Type the dependency is required to extend/implement.- Returns:
AbstractHttpSecuritySource.DependencyLabellerto possibly label the required dependency.
-
addFlow
Adds a requiredFlowidentified by the key.- Parameters:
key-Enumto identify theFlow.argumentType- Type of argument passed to theFlow.- Returns:
AbstractHttpSecuritySource.Labellerto possibly label theFlow.
-
addFlow
- Parameters:
argumentType- Type of argument passed to theFlow.- Returns:
AbstractHttpSecuritySource.Labellerto possibly label theFlow.
-