Class AuthenticationService

java.lang.Object
edu.suffolk.litlab.efspserver.services.AuthenticationService

@Path("/authenticate") @Produces("application/json") public class AuthenticationService extends Object
  • Constructor Details

    • AuthenticationService

      public AuthenticationService(SecurityHub security)
  • Method Details

    • authenticateUser

      @POST public jakarta.ws.rs.core.Response authenticateUser(String loginInfo)
      Log in the user to all of the requested e-filing EFMs.
      Parameters:
      loginInfo - should be a JSON object, with the following keys:
      • api_key: the api key for this server
      • tyler-myJurisdiction: an object ('myJurisdiction' can be any jurisdiction), with these tyler jurisdiction values:
        • username: Any tyler jurisdiction username. Example: 'illinois'
        • password: The jurisdiction's password
      Returns:
      200 and the logged in tokens to hang on to and send in with every call