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 Summary
Modifier and TypeMethodDescriptiongetConfiguration
(String policy) Given the name of a SignService Integration policy, the method returns the service configuration used for this policy.Gets the default policy name.Returns a list of names of the policies that are defined for this instance of the SignService Integration Service.void
setDefaultPolicyName
(String defaultPolicyName) Assigns the default policy name.
-
Method Details
-
getConfiguration
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
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
Gets the default policy name.- Returns:
- the default policy name
-
setDefaultPolicyName
Assigns the default policy name. If not assigned, "default" will be used.- Parameters:
defaultPolicyName
- the default policy name
-