Package com.skava.auth
Class MerchandiseSecurityConfig
java.lang.Object
com.skava.auth.MerchandiseSecurityConfig
- All Implemented Interfaces:
com.skava.core.auth.CustomSecurityConfigurer
@Component
public class MerchandiseSecurityConfig
extends Object
implements com.skava.core.auth.CustomSecurityConfigurer
This class is used to authorize users and it overrides
CustomSecurityConfigurer
for authorization component.- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
customConfigure
(org.springframework.security.config.annotation.web.builders.HttpSecurity httpSecurity) getBusinessId
(Long collectionId) This method is used to get business Id of a Collection by collection Id.
-
Constructor Details
-
MerchandiseSecurityConfig
public MerchandiseSecurityConfig()
-
-
Method Details
-
customConfigure
public void customConfigure(org.springframework.security.config.annotation.web.builders.HttpSecurity httpSecurity) - Specified by:
customConfigure
in interfacecom.skava.core.auth.CustomSecurityConfigurer
-
getBusinessId
This method is used to get business Id of a Collection by collection Id.- Specified by:
getBusinessId
in interfacecom.skava.core.auth.CustomSecurityConfigurer
- Parameters:
collectionId
- It is used to get the business Id of a collection.- Returns:
- It returns the businessId.
-