Class AccountsServiceWebSecurityConfiguration
java.lang.Object
com.skava.accounts.config.security.AccountsServiceWebSecurityConfiguration
- All Implemented Interfaces:
com.skava.core.auth.CustomSecurityConfigurer
@Component
public class AccountsServiceWebSecurityConfiguration
extends Object
implements com.skava.core.auth.CustomSecurityConfigurer
The Class AccountsServiceWebSecurityConfiguration
- See Also:
-
Component
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
customConfigure
(org.springframework.security.config.annotation.web.builders.HttpSecurity httpSecurity) Handles AuthToken and Validates itgetBusinessId
(Long collectionId)
-
Constructor Details
-
AccountsServiceWebSecurityConfiguration
public AccountsServiceWebSecurityConfiguration()Default constructor
-
-
Method Details
-
customConfigure
public void customConfigure(org.springframework.security.config.annotation.web.builders.HttpSecurity httpSecurity) Handles AuthToken and Validates it- Specified by:
customConfigure
in interfacecom.skava.core.auth.CustomSecurityConfigurer
- Parameters:
httpSecurity
- - reference for HttpSecurity class
-
getBusinessId
- Specified by:
getBusinessId
in interfacecom.skava.core.auth.CustomSecurityConfigurer
- Parameters:
collectionId
- a {link Long object}. Holds collection id- Returns:
- a {link Long object} .Returns business for the given collection.
-