Interface IdentityConfiguration<T>

  • Type Parameters:
    T - The annotated configuration class containing the service's identity attributes.

    public interface IdentityConfiguration<T>
    This interface identifies the ServiceComponentConfig as containing configuration that is applied to an identity.
    • Method Detail

      • identity

        Optional<T> identity​(ConfigIdentity identity)
        Gets the configuration instance for the given identity with the given id.
        Parameters:
        identity - the ConfigIdentity for which to get the configuration instance
        Returns:
        the configuration instance containing the identity service attributes
        Throws:
        IllegalStateException - if the configuration does not adhere to the given service interface's types
        ServiceConfigException - if the configuration could not be retrieved