Package de.dlr.proseo.ui.gui
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 -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.springframework.security.core.Authentication
authenticate
(org.springframework.security.core.Authentication authentication) Authenticates the user based on the provided credentials.boolean
Checks if the authentication provider supports the specified authentication class.
-
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 Schnittstelleorg.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
Checks if the authentication provider supports the specified authentication class.- Angegeben von:
supports
in Schnittstelleorg.springframework.security.authentication.AuthenticationProvider
- Parameter:
authentication
- the authentication class to check- Gibt zurück:
- true if the authentication provider supports the class, false otherwise
-