Class LicenseResource
- java.lang.Object
-
- io.jans.ca.plugin.adminui.rest.license.LicenseResource
-
@Path("/admin-ui/license") public class LicenseResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
SCOPE_LICENSE_READ
static String
SCOPE_LICENSE_WRITE
-
Constructor Summary
Constructors Constructor Description LicenseResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
activate(@Valid @NotNull LicenseRequest licenseRequest)
jakarta.ws.rs.core.Response
details()
jakarta.ws.rs.core.Response
isActive()
jakarta.ws.rs.core.Response
isConfigValid()
jakarta.ws.rs.core.Response
retrieveLicense()
jakarta.ws.rs.core.Response
ssa(@Valid @NotNull SSARequest ssaRequest)
jakarta.ws.rs.core.Response
trial()
-
-
-
Field Detail
-
SCOPE_LICENSE_READ
public static final String SCOPE_LICENSE_READ
- See Also:
- Constant Field Values
-
SCOPE_LICENSE_WRITE
public static final String SCOPE_LICENSE_WRITE
- See Also:
- Constant Field Values
-
-
Method Detail
-
isActive
@GET @Path("/isActive") @Produces("application/json") public jakarta.ws.rs.core.Response isActive()
-
retrieveLicense
@GET @Path("/retrieve") @Produces("application/json") public jakarta.ws.rs.core.Response retrieveLicense()
-
trial
@GET @Path("/trial") @Produces("application/json") public jakarta.ws.rs.core.Response trial()
-
activate
@POST @Path("/activate") @Produces("application/json") public jakarta.ws.rs.core.Response activate(@Valid @NotNull @Valid @NotNull LicenseRequest licenseRequest)
-
ssa
@POST @Path("/ssa") @Produces("application/json") public jakarta.ws.rs.core.Response ssa(@Valid @NotNull @Valid @NotNull SSARequest ssaRequest)
-
isConfigValid
@GET @Path("/isConfigValid") @Produces("application/json") public jakarta.ws.rs.core.Response isConfigValid()
-
details
@GET @Path("/details") @Produces("application/json") public jakarta.ws.rs.core.Response details()
-
-