> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ActivePivot Security: Authentication

Authentication validates the credentials of a user.
Authentication in ActivePivot relies on the [Spring Security](https://spring.io/projects/spring-security) framework,
a mature and widely used security framework that relies on dependency injection and that is of course
fully configurable and deployable via Spring like all aspects of ActivePivot.
All sorts of authentication entry points, protocols, encoding are available by default in Spring Security.
HTTP Basic authentication, X509 authentication, LDAP server authentication, NTLM authentication, single-sign-on,
openID are supported by default, and it is also possible to write custom authentication providers
that interact with existing applications.

<Frame>
  <img src="https://mintcdn.com/activeviam/C3uszhevq0AWZMaf/engine/java-sdk/6.0/assets/security/authentication.png?fit=max&auto=format&n=C3uszhevq0AWZMaf&q=85&s=e615f50af0f68311769b2c14c6e2f4e3" alt="Authentication_flow" width="699" height="335" data-path="engine/java-sdk/6.0/assets/security/authentication.png" />
</Frame>

The `ActivePivotServerSecurityConfig` class provides an example of how to configure an
application with Spring Security.
