Class NewAccountController
- java.lang.Object
-
- de.trustable.ca3s.core.web.rest.acme.AcmeController
-
- de.trustable.ca3s.core.web.rest.acme.NewAccountController
-
@RestController @RequestMapping("/acme/{realm}/newAccount") public class NewAccountController 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, APPLICATION_X_PEM_CERT_CHAIN, APPLICATION_X_PEM_CERT_CHAIN_VALUE, DEFAULT_NONCE_VALID_DAYS, HEADER_X_CA3S_FORWARDED_HOST, HEADER_X_CA3S_PROXY_ID, HEADER_X_JWS_SIGNATURE, NO_DETAIL, NO_INSTANCE, REPLAY_NONCE_HEADER
-
-
Constructor Summary
Constructors Constructor Description NewAccountController(AcmeAccountRepository acctRepository, BPMNUtil bpmnUtil, PipelineUtil pipelineUtil, AlgorithmRestrictionUtil algorithmRestrictionUtil, boolean checkKeyRestrictions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<?>consumingPostedJoseJson(String requestBody, String realm, String forwardedHost)org.springframework.http.ResponseEntity<?>consumingPostedJws(String requestBody, String realm, String forwardedHost)-
Methods inherited from class de.trustable.ca3s.core.web.rest.acme.AcmeController
accountResourceUriBuilderFrom, authorizationResourceUriBuilderFrom, buildNonceHeader, buildProblemResponseEntity, buildUrlFrom, certificateResourceUriBuilderFrom, challengeResourceUriBuilderFrom, checkACMERateLimit, checkNonce, directoryResourceUriBuilderFrom, generateId, getBase64UrlEncodedRandom, getNewNonce, getPipelineForRealm, getRandomChallenge, keyChangeResourceUriBuilderFrom, locationUriOfAuth, locationUriOfCertificate, locationUriOfOrder, locationUriOfOrderFinalize, newAccountResourceUriBuilderFrom, newAuthorizationResourceUriBuilderFrom, newNonceResourceUriBuilderFrom, newOrderResourceUriBuilderFrom, orderResourceUriBuilderFrom, revokeResourceUriBuilderFrom, updateAccountContactFromRequest, updateAccountFromRequest
-
-
-
-
Constructor Detail
-
NewAccountController
public NewAccountController(AcmeAccountRepository acctRepository, BPMNUtil bpmnUtil, PipelineUtil pipelineUtil, AlgorithmRestrictionUtil algorithmRestrictionUtil, @Value("${ca3s.acme.account.checkKeyRestrictions:false}") boolean checkKeyRestrictions)
-
-
Method Detail
-
consumingPostedJoseJson
@RequestMapping(method=POST, consumes="application/jose+json") public org.springframework.http.ResponseEntity<?> consumingPostedJoseJson(@RequestBody String requestBody, @PathVariable String realm, @RequestHeader(value="X-CA3S-Forwarded-Host",required=false) String forwardedHost)
-
-