Package com.gigaspaces.internal.services
Class AuthServiceFactory
java.lang.Object
com.gigaspaces.internal.services.ServiceFactory
com.gigaspaces.internal.services.AuthServiceFactory
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected voidinitializeClasspath(ClasspathBuilder classpath) Methods inherited from class com.gigaspaces.internal.services.ServiceFactory
startService, toString
-
Constructor Details
-
AuthServiceFactory
public AuthServiceFactory()
-
-
Method Details
-
getServiceName
- Specified by:
getServiceNamein classServiceFactory
-
getServiceClassName
- Specified by:
getServiceClassNamein classServiceFactory
-
initializeClasspath
- Specified by:
initializeClasspathin classServiceFactory
-
createService
- Overrides:
createServicein classServiceFactory
-