Interface ConfigurationManager

All Known Implementing Classes:
DefaultConfigurationManager

public interface ConfigurationManager
Interface for managing integration service configurations/policies.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Method Details

    • getConfiguration

      @Nullable IntegrationServiceConfiguration getConfiguration(@Nullable String policy)
      Given the name of a SignService Integration policy, the method returns the service configuration used for this policy.
      Parameters:
      policy - the policy name (null is interpreted as the default policy)
      Returns:
      the service configuration for the given policy, or null if no policy is found
    • getPolicies

      @Nonnull List<String> getPolicies()
      Returns a list of names of the policies that are defined for this instance of the SignService Integration Service.
      Returns:
      a non-empty list of policy names
    • getDefaultPolicyName

      @Nonnull String getDefaultPolicyName()
      Gets the default policy name.
      Returns:
      the default policy name
    • setDefaultPolicyName

      void setDefaultPolicyName(@Nonnull String defaultPolicyName)
      Assigns the default policy name. If not assigned, "default" will be used.
      Parameters:
      defaultPolicyName - the default policy name