Class AuthServiceFactory

java.lang.Object
com.gigaspaces.internal.services.ServiceFactory
com.gigaspaces.internal.services.AuthServiceFactory

public class AuthServiceFactory extends ServiceFactory
Launches the XAP Auth server (xap-security-server) as a separate child JVM process.

Running in a separate process avoids URLStreamHandlerFactory conflicts that occur when two Spring Boot apps with embedded Tomcat run in the same JVM.

A PID file is maintained in <gs_home>/work/auth-server.pid so that any previously orphaned auth server (e.g. from a crashed MCP restart) is killed before a new one is spawned.