Class BusinessUnitRequestServiceImpl
java.lang.Object
ch.tocco.nice2.web.core.impl.auth.BusinessUnitRequestServiceImpl
- All Implemented Interfaces:
BusinessUnitRequestService
@Component
public class BusinessUnitRequestServiceImpl
extends Object
implements BusinessUnitRequestService
-
Constructor Summary
ConstructorDescriptionBusinessUnitRequestServiceImpl
(ClientType clientType, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptiongetRequestedBusinessUnit
(jakarta.servlet.http.HttpServletRequest servletRequest) void
setNullForFrontendRequest
(boolean nullForFrontendRequest)
-
Constructor Details
-
BusinessUnitRequestServiceImpl
public BusinessUnitRequestServiceImpl(ClientType clientType, BusinessUnitManager businessUnitManager)
-
-
Method Details
-
setNullForFrontendRequest
@Value("${nice2.businessunit.nullForFrontendRequest}") public void setNullForFrontendRequest(boolean nullForFrontendRequest) -
getRequestedBusinessUnit
public Optional<BusinessUnit> getRequestedBusinessUnit(jakarta.servlet.http.HttpServletRequest servletRequest) - Specified by:
getRequestedBusinessUnit
in interfaceBusinessUnitRequestService
-