Class ExcludeAuthorizationService

java.lang.Object
org.gcube.service.helloworld.rest.ExcludeAuthorizationService

@Path("guest") public class ExcludeAuthorizationService extends Object
  • Constructor Details

    • ExcludeAuthorizationService

      public ExcludeAuthorizationService()
  • Method Details

    • exludedMethod

      @GET public String exludedMethod()
      this method doesn't need authorization and the SecretManagerProvider is null see to implement this behavior add to excludes section in your application.yaml - path: /{path-to-your-method-path} example for this method - path: /excluded
    • badRequest

      @GET @Path("bad-request") public String badRequest() throws jakarta.ws.rs.WebApplicationException
      Throws:
      jakarta.ws.rs.WebApplicationException
    • notFound

      @GET @Path("not-found") public String notFound() throws jakarta.ws.rs.WebApplicationException
      Throws:
      jakarta.ws.rs.WebApplicationException
    • testPurge

      @Path("test-purge") public jakarta.ws.rs.core.Response testPurge() throws jakarta.ws.rs.WebApplicationException
      Throws:
      jakarta.ws.rs.WebApplicationException