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 theSIPBasicAuthTokenExtractor
and the configuredSIPTokenValidator
- Author:
- thomas.stieglmaier
-
-
Field Summary
-
Fields inherited from class de.ikor.sip.foundation.security.authentication.SIPAuthenticationProvider
tokenValidator
-
-
Constructor Summary
Constructors Constructor Description SIPBasicAuthAuthenticationProvider(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 Detail
-
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
-
-