Class ServiceHelpers
java.lang.Object
edu.suffolk.litlab.efspserver.services.ServiceHelpers
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.ws.rs.core.Response.ResponseBuilder
getCourts
(CodeDatabase cd, boolean fileableOnly, boolean withNames) Helper for getting all of the valid courts that can be passed to a particular endpoint,static Optional
<TylerFirmClient> setupFirmPort
(EfmFirmService firmFactory, jakarta.ws.rs.core.HttpHeaders httpHeaders, DataSource userDs, boolean needsSoapHeader, String jurisdiction) static Optional
<TylerFirmClient> setupFirmPort
(EfmFirmService firmFactory, jakarta.ws.rs.core.HttpHeaders httpHeaders, DataSource userDs, String jurisdiction) static Optional
<TylerFirmClient> setupFirmPort
(EfmFirmService firmFactory, String tylerToken) static void
setupServicePort
(jakarta.xml.ws.BindingProvider bp) Sets up a connection to Tyler's SOAP API WITHOUT any Auth headers, but does handle the X.509 certificate and signing parameters.static void
setupServicePort
(jakarta.xml.ws.BindingProvider bp, TylerUserNamePassword creds) static void
setupServicePort
(jakarta.xml.ws.BindingProvider bp, List<org.apache.cxf.headers.Header> headerList) static Optional
<TylerUserNamePassword> userCredsFromAuthorization
(String userColonPassword)
-
Field Details
-
MDE_PROFILE_CODE
One of the ways that you can communicate over ECF. For more information, see https://docs.oasis-open.org/legalxml-courtfiling/specs/ecf/v4.01/ecf-v4.01-spec/errata02/os/ecf-v4.01-spec-errata02-os-complete.html#_Toc425241629- See Also:
-
MDE_PROFILE_CODE_5
- See Also:
-
ASSEMBLY_PORT
-
ASSEMBLY_PORT_V5
-
BASE_LOCAL_URL
-
BASE_ACME_URL
-
EXTERNAL_URL
-
SERVICE_URL
-
REST_CALLBACK_URL
-
-
Constructor Details
-
ServiceHelpers
public ServiceHelpers()
-
-
Method Details
-
userCredsFromAuthorization
-
setupServicePort
public static void setupServicePort(jakarta.xml.ws.BindingProvider bp) Sets up a connection to Tyler's SOAP API WITHOUT any Auth headers, but does handle the X.509 certificate and signing parameters.Can be used to make an Auth request, or can have the header inserted later.
-
setupServicePort
-
setupServicePort
public static void setupServicePort(jakarta.xml.ws.BindingProvider bp, List<org.apache.cxf.headers.Header> headerList) -
getCourts
public static jakarta.ws.rs.core.Response.ResponseBuilder getCourts(CodeDatabase cd, boolean fileableOnly, boolean withNames) Helper for getting all of the valid courts that can be passed to a particular endpoint,- Parameters:
cd
-fileableOnly
-withNames
-- Returns:
-
setupFirmPort
public static Optional<TylerFirmClient> setupFirmPort(EfmFirmService firmFactory, jakarta.ws.rs.core.HttpHeaders httpHeaders, DataSource userDs, String jurisdiction) -
setupFirmPort
public static Optional<TylerFirmClient> setupFirmPort(EfmFirmService firmFactory, jakarta.ws.rs.core.HttpHeaders httpHeaders, DataSource userDs, boolean needsSoapHeader, String jurisdiction) -
setupFirmPort
public static Optional<TylerFirmClient> setupFirmPort(EfmFirmService firmFactory, String tylerToken)
-