Class HttpSecurityTypeImpl<A,AC extends Serializable,C,O extends Enum<O>,F extends Enum<F>>
java.lang.Object
net.officefloor.web.security.type.HttpSecurityTypeImpl<A,AC,C,O,F>
- All Implemented Interfaces:
HttpSecurityType<A,AC, C, O, F>
public class HttpSecurityTypeImpl<A,AC extends Serializable,C,O extends Enum<O>,F extends Enum<F>>
extends Object
implements HttpSecurityType<A,AC,C,O,F>
HttpSecurityType adapted from the ManagedObjectType.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionHttpSecurityTypeImpl(Class<A> authenticationType, HttpAuthenticationFactory<A, C> httpAuthenticationFactory, Class<AC> accessControlType, HttpAccessControlFactory<AC> httpAccessControlFactory, Class<C> credentialsType, ManagedObjectType<O> moAccessControlType, HttpSecuritySupportingManagedObjectType<?>[] supportingManagedObjectTypes) Initiate. -
Method Summary
Modifier and TypeMethodDescriptionObtains the type for access control.Obtains the type for authentication.Obtains the type for credentials.Obtains theHttpSecurityDependencyTypedefinitions of the required dependencies for theHttpSecuritySource.Obtains theHttpSecurityFlowTypedefinitions of theFlowinstances required to be linked for theHttpSecuritySource.Should the custom access control not implementHttpAccessControl, then this factory provides a wrappingHttpAccessControlimplementation.Should the custom authentication not implementHttpAuthentication, then this factory provides a wrappingHttpAuthenticationimplementation.Obtains theHttpSecuritySupportingManagedObjectTypedefinitions of theHttpSecuritySupportingManagedObjectinstances provided by theHttpSecuritySource.
-
Constructor Details
-
HttpSecurityTypeImpl
public HttpSecurityTypeImpl(Class<A> authenticationType, HttpAuthenticationFactory<A, C> httpAuthenticationFactory, Class<AC> accessControlType, HttpAccessControlFactory<AC> httpAccessControlFactory, Class<C> credentialsType, ManagedObjectType<O> moAccessControlType, HttpSecuritySupportingManagedObjectType<?>[] supportingManagedObjectTypes) Initiate.- Parameters:
authenticationType- Authentication type.httpAuthenticationFactory-HttpAccessControlFactory.accessControlType- Access control type.moAccessControlType-ManagedObjectType.httpAccessControlFactory-HttpAccessControlFactory.credentialsType- Credentials type.supportingManagedObjectTypes-HttpSecuritySupportingManagedObjectTypeinstances.
-
-
Method Details
-
getAuthenticationType
Description copied from interface:HttpSecurityTypeObtains the type for authentication.- Specified by:
getAuthenticationTypein interfaceHttpSecurityType<A,AC extends Serializable, C, O extends Enum<O>, F extends Enum<F>> - Returns:
- Type for authentication.
-
getHttpAuthenticationFactory
Description copied from interface:HttpSecurityTypeShould the custom authentication not implementHttpAuthentication, then this factory provides a wrappingHttpAuthenticationimplementation.- Specified by:
getHttpAuthenticationFactoryin interfaceHttpSecurityType<A,AC extends Serializable, C, O extends Enum<O>, F extends Enum<F>> - Returns:
HttpAuthenticationFactoryto create wrappingHttpAuthentication, ornullif custom already implementsHttpAuthentication.
-
getAccessControlType
Description copied from interface:HttpSecurityTypeObtains the type for access control.- Specified by:
getAccessControlTypein interfaceHttpSecurityType<A,AC extends Serializable, C, O extends Enum<O>, F extends Enum<F>> - Returns:
- Type for access control.
-
getHttpAccessControlFactory
Description copied from interface:HttpSecurityTypeShould the custom access control not implementHttpAccessControl, then this factory provides a wrappingHttpAccessControlimplementation.- Specified by:
getHttpAccessControlFactoryin interfaceHttpSecurityType<A,AC extends Serializable, C, O extends Enum<O>, F extends Enum<F>> - Returns:
HttpAccessControlFactoryto create wrappingHttpAccessControl, ornullif custom already implementsHttpAccessControl.
-
getCredentialsType
Description copied from interface:HttpSecurityTypeObtains the type for credentials.- Specified by:
getCredentialsTypein interfaceHttpSecurityType<A,AC extends Serializable, C, O extends Enum<O>, F extends Enum<F>> - Returns:
- Type for credentials. May be
nullif no application specific behaviour is required to provide credentials.
-
getDependencyTypes
Description copied from interface:HttpSecurityTypeObtains theHttpSecurityDependencyTypedefinitions of the required dependencies for theHttpSecuritySource.- Specified by:
getDependencyTypesin interfaceHttpSecurityType<A,AC extends Serializable, C, O extends Enum<O>, F extends Enum<F>> - Returns:
HttpSecurityDependencyTypedefinitions of the required dependencies for theHttpSecuritySource.
-
getFlowTypes
Description copied from interface:HttpSecurityTypeObtains theHttpSecurityFlowTypedefinitions of theFlowinstances required to be linked for theHttpSecuritySource.- Specified by:
getFlowTypesin interfaceHttpSecurityType<A,AC extends Serializable, C, O extends Enum<O>, F extends Enum<F>> - Returns:
HttpSecurityFlowTypedefinitions of theFlowinstances required to be linked for theHttpSecuritySource.
-
getSupportingManagedObjectTypes
Description copied from interface:HttpSecurityTypeObtains theHttpSecuritySupportingManagedObjectTypedefinitions of theHttpSecuritySupportingManagedObjectinstances provided by theHttpSecuritySource.- Specified by:
getSupportingManagedObjectTypesin interfaceHttpSecurityType<A,AC extends Serializable, C, O extends Enum<O>, F extends Enum<F>> - Returns:
HttpSecuritySupportingManagedObjectTypedefinitions of theHttpSecuritySupportingManagedObjectinstances provided by theHttpSecuritySource.
-