Interface ManualAuthenticationService

All Known Implementing Classes:
ManualAuthenticationServiceImpl

public interface ManualAuthenticationService
Version:
$Id: ManualAuthenticationService.java,v 1.4 2014/03/23 17:44:06 paul Exp $
Author:
paul
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.core.Authentication
    authenticate(String username, String password)
    Authenticate using the provided username and password.
    org.springframework.security.core.Authentication
    Perform an anonymous authentication.
  • Method Details

    • authenticate

      org.springframework.security.core.Authentication authenticate(String username, String password) throws org.springframework.security.core.AuthenticationException
      Authenticate using the provided username and password.
      Throws:
      org.springframework.security.core.AuthenticationException - if the authentication fails.
    • authenticateAnonymously

      org.springframework.security.core.Authentication authenticateAnonymously() throws org.springframework.security.core.AuthenticationException
      Perform an anonymous authentication.
      Throws:
      org.springframework.security.core.AuthenticationException - if anonymous authentication fails, likely due to a misconfiguration.