Interface HttpSecurityBuilder
- All Superinterfaces:
PropertyConfigurable
HTTP security builder.
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddContentType(String contentType) Adds the aContent-Typesupported by thisHttpSecurity.createHttpSecurer(HttpSecurable securable) Creates aHttpSecurerfor thisHttpSecurity.Obtains theOfficeSectionInputto authenticate with application credentials.Obtains theOfficeManagedObjectfor theHttpAccessControl.Obtains theOfficeSectionOutputfrom theHttpSecurity.voidsetTimeout(long timeout) Time out in milliseconds to obtainHttpAccessControlinformation.Methods inherited from interface net.officefloor.compile.properties.PropertyConfigurable
addProperty
-
Method Details
-
setTimeout
void setTimeout(long timeout) Time out in milliseconds to obtainHttpAccessControlinformation.- Parameters:
timeout- Time out in milliseconds.
-
addContentType
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
Obtains theOfficeSectionOutputfrom theHttpSecurity.- Parameters:
outputName-OfficeSectionOutputname.- Returns:
OfficeSectionOutputfor the name.
-
createHttpSecurer
Creates aHttpSecurerfor thisHttpSecurity.- Parameters:
securable-HttpSecurableto provide the access configuration. May benullto just require authentication.- Returns:
HttpSecurer.
-
getHttpAccessControl
OfficeManagedObject getHttpAccessControl()Obtains theOfficeManagedObjectfor theHttpAccessControl.- Returns:
OfficeManagedObjectfor theHttpAccessControl.
-