Package net.officefloor.web.spi.security
Interface HttpSecuritySourceMetaData<A,AC extends Serializable,C,D extends Enum<D>,F extends Enum<F>>
public interface HttpSecuritySourceMetaData<A,AC extends Serializable,C,D extends Enum<D>,F extends Enum<F>>
Meta-data of the
HttpSecuritySource.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionObtains theClassof the access control object.Obtains theClassof the authentication object.Obtains theClassof the credentials object to be provided by the application.Obtains the list ofHttpSecurityDependencyMetaDatainstances required by thisHttpSecuritySource.Obtains the list ofHttpSecurityFlowMetaDatainstances should thisHttpSecuritySourcerequire application specific behaviour.Obtains theHttpAccessControlFactoryto adapt the custom access control into aHttpAccessControl.Obtains theHttpAuthenticationFactoryto adapt the custom authentication into aHttpAuthentication.
-
Method Details
-
getAuthenticationType
Obtains theClassof the authentication object.- Returns:
Classof the authentication object.
-
getHttpAuthenticationFactory
HttpAuthenticationFactory<A,C> getHttpAuthenticationFactory()Obtains theHttpAuthenticationFactoryto adapt the custom authentication into aHttpAuthentication.- Returns:
HttpAuthenticationFactoryto adapt the custom authentication into aHttpAuthentication.
-
getCredentialsType
Obtains the
Classof the credentials object to be provided by the application.An instance of this
Classis to be provided as a parameter to theManagedFunctionthat attempts authentication. This allows application specific behaviour to obtain the credentials (such as a login page).Should the security protocol be application agnostic (such as client security keys) this should be
null.- Returns:
Classof the credentials object ornullif no application specific behaviour.
-
getAccessControlType
Obtains theClassof the access control object.- Returns:
Classof the access control object.
-
getHttpAccessControlFactory
HttpAccessControlFactory<AC> getHttpAccessControlFactory()Obtains theHttpAccessControlFactoryto adapt the custom access control into aHttpAccessControl.- Returns:
HttpAccessControlFactoryto adapt the custom access control into aHttpAccessControl.
-
getDependencyMetaData
HttpSecurityDependencyMetaData<D>[] getDependencyMetaData()Obtains the list ofHttpSecurityDependencyMetaDatainstances required by thisHttpSecuritySource.- Returns:
- Meta-data of the required dependencies for this
HttpSecuritySource.
-
getFlowMetaData
HttpSecurityFlowMetaData<F>[] getFlowMetaData()Obtains the list ofHttpSecurityFlowMetaDatainstances should thisHttpSecuritySourcerequire application specific behaviour.- Returns:
- Meta-data of application
Flowinstances instigated by thisHttpSecuritySource.
-