Class AccountController
- java.lang.Object
-
- de.trustable.ca3s.core.web.rest.acme.ACMEController
-
- de.trustable.ca3s.core.web.rest.acme.AccountController
-
@Transactional @Controller @RequestMapping("/acme/{realm}/acct") public class AccountController extends ACMEController
-
-
Field Summary
-
Fields inherited from class de.trustable.ca3s.core.web.rest.acme.ACMEController
APPLICATION_JOSE_JSON, APPLICATION_JOSE_JSON_VALUE, APPLICATION_JWS, APPLICATION_JWS_VALUE, APPLICATION_PEM_CERT, APPLICATION_PEM_CERT_CHAIN, APPLICATION_PEM_CERT_CHAIN_VALUE, APPLICATION_PEM_CERT_VALUE, APPLICATION_PEM_FILE, APPLICATION_PEM_FILE_VALUE, APPLICATION_PKCS12, APPLICATION_PKCS12_VALUE, APPLICATION_PKIX_CERT, APPLICATION_PKIX_CERT_VALUE, APPLICATION_PROBLEM_JSON, DEFAULT_NONCE_VALID_DAYS, NO_DETAIL, NO_INSTANCE, REPLAY_NONCE_HEADER
-
-
Constructor Summary
Constructors Constructor Description AccountController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<?>changeKey(String requestBody)org.springframework.http.ResponseEntity<ACMEAccount>getAccount(long accountId)org.springframework.http.ResponseEntity<?>getAccountOrders(long accountId, String realm, String cursorParam, String requestBody)org.springframework.http.ResponseEntity<?>updateAccount(long accountId, String realm, String requestBody)-
Methods inherited from class de.trustable.ca3s.core.web.rest.acme.ACMEController
accountResourceUriBuilderFrom, authorizationResourceUriBuilderFrom, buildNonceHeader, buildProblemResponseEntity, buildUrlFrom, certificateResourceUriBuilderFrom, challengeResourceUriBuilderFrom, checkNonce, contactsFromRequest, directoryResourceUriBuilderFrom, generateId, getBase64UrlEncodedRandom, getNewChallenge, getNewNonce, getPipelineForRealm, keyChangeResourceUriBuilderFrom, locationUriOfAuth, locationUriOfCertificate, locationUriOfOrder, locationUriOfOrderFinalize, newAccountResourceUriBuilderFrom, newAuthorizationResourceUriBuilderFrom, newNonceResourceUriBuilderFrom, newOrderResourceUriBuilderFrom, orderResourceUriBuilderFrom, revokeResourceUriBuilderFrom
-
-
-
-
Method Detail
-
getAccount
public org.springframework.http.ResponseEntity<ACMEAccount> getAccount(@PathVariable long accountId)
-
changeKey
@RequestMapping(value="/changeKey", method=POST, consumes="application/jose+json") public org.springframework.http.ResponseEntity<?> changeKey(@RequestBody String requestBody)
-
updateAccount
@RequestMapping(value="/{accountId}", method=POST, consumes="application/jose+json") public org.springframework.http.ResponseEntity<?> updateAccount(@PathVariable long accountId, @PathVariable String realm, @RequestBody String requestBody)
-
getAccountOrders
@RequestMapping(value="/{accountId}/orders", method=POST, consumes="application/jose+json") public org.springframework.http.ResponseEntity<?> getAccountOrders(@PathVariable long accountId, @PathVariable String realm, @RequestParam(name="cursor",defaultValue="0") String cursorParam, @RequestBody String requestBody)
-
-