Interface AbstractHttpSecuritySource.MetaDataContext<A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
-
- Enclosing class:
- AbstractHttpSecuritySource<A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
public static interface AbstractHttpSecuritySource.MetaDataContext<A,AC extends java.io.Serializable,C,O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
Context for theHttpSecuritySource.init(HttpSecuritySourceContext)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbstractHttpSecuritySource.DependencyLabeller
addDependency(java.lang.Class<?> dependencyType)
Adds a required dependency identified by an index into the order the dependency was added.AbstractHttpSecuritySource.DependencyLabeller
addDependency(O key, java.lang.Class<?> dependencyType)
Adds a required dependency identified by the key.AbstractHttpSecuritySource.Labeller
addFlow(F key, java.lang.Class<?> argumentType)
Adds a requiredFlow
identified by the key.AbstractHttpSecuritySource.Labeller
addFlow(java.lang.Class<?> argumentType)
HttpSecuritySourceContext
getHttpSecuritySourceContext()
Obtains theHttpSecuritySourceContext
.void
setAccessControlClass(java.lang.Class<AC> accessControlClass)
Specifies the type for access control.void
setAuthenticationClass(java.lang.Class<A> authenticationClass)
Specifies the type for authentication.void
setCredentialsClass(java.lang.Class<C> credentialsClass)
Specifies the type for credentials.void
setHttpAccessControlFactory(HttpAccessControlFactory<AC> httpAccessControlFactory)
Specifies theHttpAccessControlFactory
.void
setHttpAuthenticationFactory(HttpAuthenticationFactory<A,C> httpAuthenticationFactory)
Specifies theHttpAuthenticationFactory
.
-
-
-
Method Detail
-
getHttpSecuritySourceContext
HttpSecuritySourceContext getHttpSecuritySourceContext()
Obtains theHttpSecuritySourceContext
.- Returns:
HttpSecuritySourceContext
.
-
setAuthenticationClass
void setAuthenticationClass(java.lang.Class<A> authenticationClass)
Specifies the type for authentication.- Parameters:
authenticationClass
- Authentication type.
-
setHttpAuthenticationFactory
void setHttpAuthenticationFactory(HttpAuthenticationFactory<A,C> httpAuthenticationFactory)
Specifies theHttpAuthenticationFactory
.- Parameters:
httpAuthenticationFactory
-HttpAuthenticationFactory
.
-
setAccessControlClass
void setAccessControlClass(java.lang.Class<AC> accessControlClass)
Specifies the type for access control.- Parameters:
accessControlClass
- Access control type.
-
setHttpAccessControlFactory
void setHttpAccessControlFactory(HttpAccessControlFactory<AC> httpAccessControlFactory)
Specifies theHttpAccessControlFactory
.- Parameters:
httpAccessControlFactory
-HttpAccessControlFactory
.
-
setCredentialsClass
void setCredentialsClass(java.lang.Class<C> credentialsClass)
Specifies the type for credentials.- Parameters:
credentialsClass
- Credentials type.
-
addDependency
AbstractHttpSecuritySource.DependencyLabeller addDependency(O key, java.lang.Class<?> dependencyType)
Adds a required dependency identified by the key.- Parameters:
key
-Enum
to identify the dependency.dependencyType
- Type the dependency is required to extend/implement.- Returns:
AbstractHttpSecuritySource.DependencyLabeller
to possibly label the required dependency.
-
addDependency
AbstractHttpSecuritySource.DependencyLabeller addDependency(java.lang.Class<?> dependencyType)
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.DependencyLabeller
to possibly label the required dependency.
-
addFlow
AbstractHttpSecuritySource.Labeller addFlow(F key, java.lang.Class<?> argumentType)
Adds a requiredFlow
identified by the key.- Parameters:
key
-Enum
to identify theFlow
.argumentType
- Type of argument passed to theFlow
.- Returns:
AbstractHttpSecuritySource.Labeller
to possibly label theFlow
.
-
addFlow
AbstractHttpSecuritySource.Labeller addFlow(java.lang.Class<?> argumentType)
- Parameters:
argumentType
- Type of argument passed to theFlow
.- Returns:
AbstractHttpSecuritySource.Labeller
to possibly label theFlow
.
-
-