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
activateLicense(@Valid @NotNull LicenseRequest licenseRequest)
jakarta.ws.rs.core.Response
getLicenseDetails()
jakarta.ws.rs.core.Response
isActive()
jakarta.ws.rs.core.Response
isConfigValid()
jakarta.ws.rs.core.Response
postSSA(@Valid @NotNull SSARequest ssaRequest)
-
-
-
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()
-
activateLicense
@POST @Path("/activateLicense") @Produces("application/json") public jakarta.ws.rs.core.Response activateLicense(@Valid @NotNull @Valid @NotNull LicenseRequest licenseRequest)
-
postSSA
@POST @Path("/ssa") @Produces("application/json") public jakarta.ws.rs.core.Response postSSA(@Valid @NotNull @Valid @NotNull SSARequest ssaRequest)
-
isConfigValid
@GET @Path("/isConfigValid") @Produces("application/json") public jakarta.ws.rs.core.Response isConfigValid()
-
getLicenseDetails
@GET @Path("/licenseDetails") @Produces("application/json") public jakarta.ws.rs.core.Response getLicenseDetails()
-
-