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 theClass
of the access control object.java.lang.Class<A>
getAuthenticationType()
Obtains theClass
of the authentication object.java.lang.Class<C>
getCredentialsType()
Obtains theClass
of the credentials object to be provided by the application.HttpSecurityDependencyMetaData<D>[]
getDependencyMetaData()
Obtains the list ofHttpSecurityDependencyMetaData
instances required by thisHttpSecuritySource
.HttpSecurityFlowMetaData<F>[]
getFlowMetaData()
Obtains the list ofHttpSecurityFlowMetaData
instances should thisHttpSecuritySource
require application specific behaviour.HttpAccessControlFactory<AC>
getHttpAccessControlFactory()
Obtains theHttpAccessControlFactory
to adapt the custom access control into aHttpAccessControl
.HttpAuthenticationFactory<A,C>
getHttpAuthenticationFactory()
Obtains theHttpAuthenticationFactory
to adapt the custom authentication into aHttpAuthentication
.
-
-
-
Method Detail
-
getAuthenticationType
java.lang.Class<A> getAuthenticationType()
Obtains theClass
of the authentication object.- Returns:
Class
of the authentication object.
-
getHttpAuthenticationFactory
HttpAuthenticationFactory<A,C> getHttpAuthenticationFactory()
Obtains theHttpAuthenticationFactory
to adapt the custom authentication into aHttpAuthentication
.- Returns:
HttpAuthenticationFactory
to adapt the custom authentication into aHttpAuthentication
.
-
getCredentialsType
java.lang.Class<C> getCredentialsType()
Obtains the
Class
of the credentials object to be provided by the application.An instance of this
Class
is to be provided as a parameter to theManagedFunction
that 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:
Class
of the credentials object ornull
if no application specific behaviour.
-
getAccessControlType
java.lang.Class<AC> getAccessControlType()
Obtains theClass
of the access control object.- Returns:
Class
of the access control object.
-
getHttpAccessControlFactory
HttpAccessControlFactory<AC> getHttpAccessControlFactory()
Obtains theHttpAccessControlFactory
to adapt the custom access control into aHttpAccessControl
.- Returns:
HttpAccessControlFactory
to adapt the custom access control into aHttpAccessControl
.
-
getDependencyMetaData
HttpSecurityDependencyMetaData<D>[] getDependencyMetaData()
Obtains the list ofHttpSecurityDependencyMetaData
instances required by thisHttpSecuritySource
.- Returns:
- Meta-data of the required dependencies for this
HttpSecuritySource
.
-
getFlowMetaData
HttpSecurityFlowMetaData<F>[] getFlowMetaData()
Obtains the list ofHttpSecurityFlowMetaData
instances should thisHttpSecuritySource
require application specific behaviour.- Returns:
- Meta-data of application
Flow
instances instigated by thisHttpSecuritySource
.
-
-