Class AcmeChallengeService
java.lang.Object
edu.suffolk.litlab.efspserver.services.acme.AcmeChallengeService
- All Implemented Interfaces:
AcmeChallengePublisher
@Path("/.well-known")
public class AcmeChallengeService
extends Object
implements AcmeChallengePublisher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
getChallengeResponse
(String inToken) boolean
Remove the token content, as it shouldn't stay up for too long.boolean
setTokenContent
(String token, String content) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.suffolk.litlab.efspserver.services.acme.AcmeChallengePublisher
setTokenContent
-
Constructor Details
-
AcmeChallengeService
public AcmeChallengeService()
-
-
Method Details
-
setTokenContent
- Specified by:
setTokenContent
in interfaceAcmeChallengePublisher
-
removeTokenContent
public boolean removeTokenContent()Description copied from interface:AcmeChallengePublisher
Remove the token content, as it shouldn't stay up for too long.- Specified by:
removeTokenContent
in interfaceAcmeChallengePublisher
-
getChallengeResponse
@GET @Path("/acme-challenge/{token}") public jakarta.ws.rs.core.Response getChallengeResponse(@PathParam("token") String inToken)
-