# Package com.logicaldoc.core.security.authentication

package com.logicaldoc.core.security.authentication
The pluggable authentication mechanism. Key class here is the `AuthenticationChain` that handle a sequence of configured `Authenticator`
Implementations of the `Authenticator` takes care of authenticating the user using a specific technology
A set of exceptions is defined in order to manifest the reason of a failed authentication

Since:
  1.0

Related Packages
Package
Description
com.logicaldoc.core.security
Container of the security-related interfaces and classes
com.logicaldoc.core.security.apikey
APIKey is another way to authenticate when using an API like Webservices
com.logicaldoc.core.security.authorization
com.logicaldoc.core.security.menu
Package for the Menu, a menu represent a graphical element of the user interface
com.logicaldoc.core.security.spring
com.logicaldoc.core.security.user
Definition of the User object and ancillary objects
Class
Description
AbstractAuthenticator
A place to put common methods of the authenticators
AccountDisabledException
Raised when the account exists but it is disabled
AccountExpiredException
Raised when the account is expired
AccountInactiveException
Raised when the account is interpreted as inactive because it was not interacting since a lot of days
AccountNotFoundException
Raised when the specified user was not found
AccountTypeNotAllowedException
Raised when trying to enter with an account of a unknown type
ApiKeyAuthenticator
This authenticator uses the API Key
ApiKeyBlockedException
Raised when the remote client is in the black list
AuthenticationChain
This authentication component implements a chain of possible authentication sources that will be invoked sequentially.
AuthenticationException
A generic exception during the authentication process
Authenticator
Implementations of this interface must provide authentication of a user against a defined source.
DefaultAuthenticator
This is the basic authentication mechanism, that searches for the user in the LogicalDOC database.
ForbiddenImpersonationException
Raised when someone tries to impersonate another user without permission
InvalidSessionException
Raised when a session is not valid
IPBlockedException
Raised when the remote client is in the black list
OutsideWorkingTimeException
Raised when the user is trying to enter outside the working time
PasswordAlreadyUsedException
Raised when you try to change password that was already used
PasswordExpiredException
Raised when the password has expired
PasswordWeakException
Raised when you try to change or use a password that is too weak
UnconfirmedLegalsException
Raised when the user did not confirm one or more legals
UsernameBlockedException
Raised when the remote client is in the black list
WrongPasswordException
Raised when given password is not correct