Class AccessServices


  • @Singleton
    @Path("/access")
    public class AccessServices
    extends step.core.deployment.AbstractStepServices
    • Field Summary

      • Fields inherited from class step.core.deployment.AbstractStepServices

        configuration, SESSION
    • Constructor Summary

      Constructors 
      Constructor Description
      AccessServices()  
    • Constructor Detail

      • AccessServices

        public AccessServices()
    • Method Detail

      • init

        @PostConstruct
        public void init()
                  throws Exception
        Overrides:
        init in class step.core.deployment.AbstractStepServices
        Throws:
        Exception
      • authenticateUser

        @POST
        @Path("/login")
        @Produces("application/json")
        @Consumes("application/json")
        public jakarta.ws.rs.core.Response authenticateUser​(step.core.auth.Credentials credentials)
      • getServiceAccountToken

        @GET
        @Path("/service-account/token")
        @Produces("text/plain")
        public String getServiceAccountToken​(@QueryParam("lifetime")
                                             long days)
      • logout

        @POST
        @Path("/logout")
        public void logout​(@Context
                           jakarta.servlet.http.HttpServletRequest req)
      • isDemo

        public boolean isDemo()