Interface HttpSecurityBuilder
-
- All Superinterfaces:
PropertyConfigurable
public interface HttpSecurityBuilder extends PropertyConfigurable
HTTP security builder.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddContentType(java.lang.String contentType)Adds the aContent-Typesupported by thisHttpSecurity.HttpSecurercreateHttpSecurer(HttpSecurable securable)Creates aHttpSecurerfor thisHttpSecurity.OfficeSectionInputgetAuthenticateInput()Obtains theOfficeSectionInputto authenticate with application credentials.OfficeSectionOutputgetOutput(java.lang.String outputName)Obtains theOfficeSectionOutputfrom theHttpSecurity.voidsetTimeout(long timeout)Time out in milliseconds to obtainHttpAccessControlinformation.-
Methods inherited from interface net.officefloor.compile.properties.PropertyConfigurable
addProperty
-
-
-
-
Method Detail
-
setTimeout
void setTimeout(long timeout)
Time out in milliseconds to obtainHttpAccessControlinformation.- Parameters:
timeout- Time out in milliseconds.
-
addContentType
void addContentType(java.lang.String contentType)
Adds the aContent-Typesupported by thisHttpSecurity.- Parameters:
contentType-Content-Typesupported by thisHttpSecurity.
-
getAuthenticateInput
OfficeSectionInput getAuthenticateInput()
Obtains the
OfficeSectionInputto authenticate with application credentials.The application credentials are to be a parameter to this
OfficeSectionInput.- Returns:
OfficeSectionInputto undertake authentication with the application credentials..
-
getOutput
OfficeSectionOutput getOutput(java.lang.String outputName)
Obtains theOfficeSectionOutputfrom theHttpSecurity.- Parameters:
outputName-OfficeSectionOutputname.- Returns:
OfficeSectionOutputfor the name.
-
createHttpSecurer
HttpSecurer createHttpSecurer(HttpSecurable securable)
Creates aHttpSecurerfor thisHttpSecurity.- Parameters:
securable-HttpSecurableto provide the access configuration. May benullto just require authentication.- Returns:
HttpSecurer.
-
-