Package security.controller
Class CertificateAuthenticationController
java.lang.Object
security.controller.CertificateAuthenticationController
- All Implemented Interfaces:
BaseAuthenticationController<String>
@RestController
@AuthMethodConditional({CERT_OVER_DB,CERT_OVER_LDAP})
public class CertificateAuthenticationController
extends Object
implements BaseAuthenticationController<String>
- Author:
- Flyur Karimov
-
Constructor Summary
ConstructorsConstructorDescriptionCertificateAuthenticationController
(AuthenticationService authenticationService, AuthenticationHelper authenticationHelper, LoginCredentialsService loginCredentialsService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
authenticate
(String digitalSignature, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Constructor Details
-
CertificateAuthenticationController
@Autowired public CertificateAuthenticationController(@Qualifier("authCertificateService") AuthenticationService authenticationService, AuthenticationHelper authenticationHelper, LoginCredentialsService loginCredentialsService)
-
-
Method Details
-
authenticate
@RequestMapping(value="/security/authenticate", method=POST, consumes="application/json", headers="Auth-method=Certificate") public void authenticate(@RequestBody String digitalSignature, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) - Specified by:
authenticate
in interfaceBaseAuthenticationController<String>
-