Class ServiceFactory

    • Constructor Detail

      • ServiceFactory

        public ServiceFactory()
    • Method Detail

      • getSecurityServiceConfiguration

        public static <T extends SecurityConfiguration> T getSecurityServiceConfiguration​(Domain domain,
                                                                                          Class<T> type)
        Get the security service configuration for the specified service type. Attempt to obtain the service configuration marked as default otherwise use the first configured service instance.
        Parameters:
        domain - The current Domain configuration object
        type - The type of the security service configuration
        Returns:
        null when no service configurations are found