Package net.officefloor.web.spi.security
Interface HttpSecuritySourceMetaData<A,AC extends java.io.Serializable,C,D extends java.lang.Enum<D>,F extends java.lang.Enum<F>>
-
public interface HttpSecuritySourceMetaData<A,AC extends java.io.Serializable,C,D extends java.lang.Enum<D>,F extends java.lang.Enum<F>>Meta-data of theHttpSecuritySource.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<AC>getAccessControlType()Obtains theClassof the access control object.java.lang.Class<A>getAuthenticationType()Obtains theClassof the authentication object.java.lang.Class<C>getCredentialsType()Obtains theClassof the credentials object to be provided by the application.HttpSecurityDependencyMetaData<D>[]getDependencyMetaData()Obtains the list ofHttpSecurityDependencyMetaDatainstances required by thisHttpSecuritySource.HttpSecurityFlowMetaData<F>[]getFlowMetaData()Obtains the list ofHttpSecurityFlowMetaDatainstances should thisHttpSecuritySourcerequire application specific behaviour.HttpAccessControlFactory<AC>getHttpAccessControlFactory()Obtains theHttpAccessControlFactoryto adapt the custom access control into aHttpAccessControl.HttpAuthenticationFactory<A,C>getHttpAuthenticationFactory()Obtains theHttpAuthenticationFactoryto adapt the custom authentication into aHttpAuthentication.
-
-
-
Method Detail
-
getAuthenticationType
java.lang.Class<A> 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
java.lang.Class<C> 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
java.lang.Class<AC> 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.
-
-