Package security.service
Class FormAuthenticationService
java.lang.Object
security.service.FormAuthenticationService
- All Implemented Interfaces:
AuthenticationService
@AuthMethodConditional(FORM)
@Service
public class FormAuthenticationService
extends Object
implements AuthenticationService
- Author:
- zamaliev
-
Constructor Summary
ConstructorsConstructorDescriptionFormAuthenticationService
(org.springframework.security.authentication.AuthenticationManager authenticationManager) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authentication
authenticate
(String userName, String password)
-
Constructor Details
-
FormAuthenticationService
@Autowired public FormAuthenticationService(org.springframework.security.authentication.AuthenticationManager authenticationManager)
-
-
Method Details
-
authenticate
public org.springframework.security.core.Authentication authenticate(String userName, String password) - Specified by:
authenticate
in interfaceAuthenticationService
-