MotechURLSecurityService

public interface MotechURLSecurityService

Service to access and update security configuration details from the platform. Permission based, method level security is defined to prevent unauthorized users from updating security.

Methods

findAllSecurityRules

List<SecurityRuleDto> findAllSecurityRules()

A protected method for viewing security rule information for the platform.

Returns:All URL security rules found in the database

updateSecurityConfiguration

void updateSecurityConfiguration(SecurityConfigDto configuration)

A protected method for updating security configuration for the platform.

Parameters:
  • configuration – The updated security information, which will cause an updating of the motech proxy manager