final TokenContext tokenContext = new TokenContext(wssSecurityProperties, wsInboundSecurityContext, xmlSecEvents, elementPath);
BinarySecurityTokenValidator binarySecurityTokenValidator =
wssSecurityProperties.getValidator(WSSConstants.TAG_wsse_BinarySecurityToken);
if (binarySecurityTokenValidator == null) {
binarySecurityTokenValidator = new BinarySecurityTokenValidatorImpl();
}
final InboundSecurityToken binarySecurityToken =
binarySecurityTokenValidator.validate(binarySecurityTokenType, tokenContext);
SecurityTokenProvider<InboundSecurityToken> securityTokenProvider = new SecurityTokenProvider<InboundSecurityToken>() {