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 void
addContentType(java.lang.String contentType)
Adds the aContent-Type
supported by thisHttpSecurity
.HttpSecurer
createHttpSecurer(HttpSecurable securable)
Creates aHttpSecurer
for thisHttpSecurity
.OfficeSectionInput
getAuthenticateInput()
Obtains theOfficeSectionInput
to authenticate with application credentials.OfficeSectionOutput
getOutput(java.lang.String outputName)
Obtains theOfficeSectionOutput
from theHttpSecurity
.void
setTimeout(long timeout)
Time out in milliseconds to obtainHttpAccessControl
information.-
Methods inherited from interface net.officefloor.compile.properties.PropertyConfigurable
addProperty
-
-
-
-
Method Detail
-
setTimeout
void setTimeout(long timeout)
Time out in milliseconds to obtainHttpAccessControl
information.- Parameters:
timeout
- Time out in milliseconds.
-
addContentType
void addContentType(java.lang.String contentType)
Adds the aContent-Type
supported by thisHttpSecurity
.- Parameters:
contentType
-Content-Type
supported by thisHttpSecurity
.
-
getAuthenticateInput
OfficeSectionInput getAuthenticateInput()
Obtains the
OfficeSectionInput
to authenticate with application credentials.The application credentials are to be a parameter to this
OfficeSectionInput
.- Returns:
OfficeSectionInput
to undertake authentication with the application credentials..
-
getOutput
OfficeSectionOutput getOutput(java.lang.String outputName)
Obtains theOfficeSectionOutput
from theHttpSecurity
.- Parameters:
outputName
-OfficeSectionOutput
name.- Returns:
OfficeSectionOutput
for the name.
-
createHttpSecurer
HttpSecurer createHttpSecurer(HttpSecurable securable)
Creates aHttpSecurer
for thisHttpSecurity
.- Parameters:
securable
-HttpSecurable
to provide the access configuration. May benull
to just require authentication.- Returns:
HttpSecurer
.
-
-