Klasse GUIAuthenticationProvider

java.lang.Object
de.dlr.proseo.ui.gui.GUIAuthenticationProvider
Alle implementierten Schnittstellen:
org.springframework.security.authentication.AuthenticationProvider

@Component public class GUIAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
Implementation of the AuthenticationProvider interface provided by Spring Security, handling the authentication process for the GUI users.
Autor:
David Mazo
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    org.springframework.security.core.Authentication
    authenticate(org.springframework.security.core.Authentication authentication)
    Authenticates the user based on the provided credentials.
    boolean
    supports(Class<?> authentication)
    Checks if the authentication provider supports the specified authentication class.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • GUIAuthenticationProvider

      public GUIAuthenticationProvider()
  • Methodendetails

    • authenticate

      public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException
      Authenticates the user based on the provided credentials.
      Angegeben von:
      authenticate in Schnittstelle org.springframework.security.authentication.AuthenticationProvider
      Parameter:
      authentication - the authentication object containing the user's credentials
      Gibt zurück:
      the authenticated authentication object
      Löst aus:
      org.springframework.security.core.AuthenticationException - if authentication fails
    • supports

      public boolean supports(Class<?> authentication)
      Checks if the authentication provider supports the specified authentication class.
      Angegeben von:
      supports in Schnittstelle org.springframework.security.authentication.AuthenticationProvider
      Parameter:
      authentication - the authentication class to check
      Gibt zurück:
      true if the authentication provider supports the class, false otherwise