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 
AuthenticationProvider 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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.springframework.security.core.Authenticationauthenticate(org.springframework.security.core.Authentication authentication) boolean
- 
Constructor Details- 
AdminAuthenticationProviderpublic AdminAuthenticationProvider()
 
- 
- 
Method Details- 
authenticatepublic org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException - Specified by:
- authenticatein interface- org.springframework.security.authentication.AuthenticationProvider
- Throws:
- org.springframework.security.core.AuthenticationException
 
- 
supports- Specified by:
- supportsin interface- org.springframework.security.authentication.AuthenticationProvider
 
 
-