Class SIPBasicAuthAuthenticationProvider
java.lang.Object
de.ikor.sip.foundation.security.authentication.SIPAuthenticationProvider<SIPBasicAuthAuthenticationToken>
de.ikor.sip.foundation.security.authentication.basic.SIPBasicAuthAuthenticationProvider
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
@ConditionalOnSIPAuthProvider(listItemValue=SIPBasicAuthAuthenticationProvider.class)
@Component
public class SIPBasicAuthAuthenticationProvider
extends SIPAuthenticationProvider<SIPBasicAuthAuthenticationToken>
Basic Authentication provider, wiring together the
SIPBasicAuthTokenExtractor
and the
configured SIPTokenValidator
- Author:
- thomas.stieglmaier
-
Field Summary
Fields inherited from class de.ikor.sip.foundation.security.authentication.SIPAuthenticationProvider
tokenValidator
-
Constructor Summary
ConstructorDescriptionSIPBasicAuthAuthenticationProvider
(TokenExtractors tokenExtractors, SIPTokenValidator<SIPBasicAuthAuthenticationToken> tokenValidator) Autowired constructor for creating the basic authentication provider -
Method Summary
Methods inherited from class de.ikor.sip.foundation.security.authentication.SIPAuthenticationProvider
authenticate, supports, validateAuthentication
-
Constructor Details
-
SIPBasicAuthAuthenticationProvider
@Autowired public SIPBasicAuthAuthenticationProvider(TokenExtractors tokenExtractors, SIPTokenValidator<SIPBasicAuthAuthenticationToken> tokenValidator) Autowired constructor for creating the basic authentication provider- Parameters:
tokenExtractors
- the object to which the basic auth token extractor should be addedtokenValidator
- the configured token validator
-