Class ServiceFactory

java.lang.Object
org.glassfish.security.services.impl.ServiceFactory
Direct Known Subclasses:
AuthenticationServiceFactory

public class ServiceFactory extends Object
The base security service factory class.
  • Constructor Details

    • ServiceFactory

      public ServiceFactory()
  • Method Details

    • getSecurityServiceConfiguration

      public static <T extends SecurityConfiguration> T getSecurityServiceConfiguration(com.sun.enterprise.config.serverbeans.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