final TokenContext tokenContext = new TokenContext(wssSecurityProperties, wsInboundSecurityContext, xmlSecEvents, elementPath);
SecurityContextTokenValidator securityContextTokenValidator = wssSecurityProperties.getValidator(elementName);
if (securityContextTokenValidator == null) {
securityContextTokenValidator = new SecurityContextTokenValidatorImpl();
}
final InboundSecurityToken securityContextToken =
securityContextTokenValidator.validate(securityContextTokenType, identifier, tokenContext);
SecurityTokenProvider<InboundSecurityToken> securityTokenProvider =