Class AdminAuthenticationProvider
java.lang.Object
com.logicaldoc.core.security.spring.AdminAuthenticationProvider
- All Implemented Interfaces:
 org.springframework.security.authentication.AuthenticationProvider
public class AdminAuthenticationProvider
extends Object
implements org.springframework.security.authentication.AuthenticationProvider
This Authentication provider extends the standard
 
LDAuthenticationProvider but in addition it is able to checks if
 the provided password matches the context property 'adminpswd' in cases when
 the database is not available or the max concurrent sessions number is
 reached.- Since:
 - 7.5
 - Author:
 - Marco Meschieri - LogicalDOC
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authenticationauthenticate(org.springframework.security.core.Authentication authentication) boolean 
- 
Constructor Details
- 
AdminAuthenticationProvider
public AdminAuthenticationProvider() 
 - 
 - 
Method Details
- 
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException - Specified by:
 authenticatein interfaceorg.springframework.security.authentication.AuthenticationProvider- Throws:
 org.springframework.security.core.AuthenticationException
 - 
supports
- Specified by:
 supportsin interfaceorg.springframework.security.authentication.AuthenticationProvider
 
 -